Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdc14d3 commit bda3768Copy full SHA for bda3768
entrypoint.sh
@@ -22,9 +22,9 @@ if [ -n "${CODER_TEMPLATE_VERSION}" ]; then
22
push_command+=" --name ${CODER_TEMPLATE_VERSION}"
23
fi
24
25
-# Add activate flag to the push command if specified
26
-if [ -n "${CODER_TEMPLATE_ACTIVATE}" ]; then
27
- push_command+=" --activate=${CODER_TEMPLATE_ACTIVATE}"
+# Add activate flag to the push command if it is false
+if [ "${CODER_TEMPLATE_ACTIVATE}" = "false" ]; then
+ push_command+=" --activate=false"
28
29
30
# Add confirmation flag to the push command
0 commit comments