mirror of
https://github.com/matifali/update-coder-template.git
synced 2025-11-13 02:41:31 +08:00
fix template id
This commit is contained in:
parent
2c4f6841cf
commit
1f99dff337
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ echo "CODER_TEMPLATE_ID: ${CODER_TEMPLATE_ID}"
|
||||||
echo "CODER_TEMPLATE_DIR: ${CODER_TEMPLATE_DIR}"
|
echo "CODER_TEMPLATE_DIR: ${CODER_TEMPLATE_DIR}"
|
||||||
|
|
||||||
# Construct push command
|
# Construct push command
|
||||||
push_command="coder templates push ${CODER_TEMPLATE_NAME} --directory ./${CODER_TEMPLATE_DIR}" --message ${CODER_TEMPLATE_MESSAGE}
|
push_command="coder templates push ${CODER_TEMPLATE_ID} --directory ./${CODER_TEMPLATE_DIR}" --message ${CODER_TEMPLATE_MESSAGE}
|
||||||
|
|
||||||
# Append --create flag to the push command if CODER_TEMPLATE_CREATE is true
|
# Append --create flag to the push command if CODER_TEMPLATE_CREATE is true
|
||||||
if [ "${CODER_TEMPLATE_CREATE}" = "true" ]; then
|
if [ "${CODER_TEMPLATE_CREATE}" = "true" ]; then
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue