Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1f99dff

Browse files
committed
fix template id
1 parent 2c4f684 commit 1f99dff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

push_template.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ echo "CODER_TEMPLATE_ID: ${CODER_TEMPLATE_ID}"
1212
echo "CODER_TEMPLATE_DIR: ${CODER_TEMPLATE_DIR}"
1313

1414
# Construct push command
15-
push_command="coder templates push ${CODER_TEMPLATE_NAME} --directory ./${CODER_TEMPLATE_DIR}" --message ${CODER_TEMPLATE_MESSAGE}
15+
push_command="coder templates push ${CODER_TEMPLATE_ID} --directory ./${CODER_TEMPLATE_DIR}" --message ${CODER_TEMPLATE_MESSAGE}
1616

1717
# Append --create flag to the push command if CODER_TEMPLATE_CREATE is true
1818
if [ "${CODER_TEMPLATE_CREATE}" = "true" ]; then

0 commit comments

Comments
 (0)