mirror of
https://github.com/matifali/update-coder-template.git
synced 2025-10-21 12:25:52 +08:00
quote message
This commit is contained in:
parent
0b3202d989
commit
a3b266ad26
2 changed files with 2 additions and 3 deletions
|
@ -37,7 +37,7 @@ inputs:
|
||||||
dry_run:
|
dry_run:
|
||||||
description: "Dry run"
|
description: "Dry run"
|
||||||
required: false
|
required: false
|
||||||
default: "true" # make it false after testing TODO
|
default: "false"
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: "composite"
|
using: "composite"
|
||||||
|
|
|
@ -16,9 +16,8 @@ push_command="coder templates push ${CODER_TEMPLATE_ID} --directory ./${CODER_TE
|
||||||
|
|
||||||
# Add message to the push command if specified
|
# Add message to the push command if specified
|
||||||
if [ -n "${CODER_TEMPLATE_MESSAGE}" ]; then
|
if [ -n "${CODER_TEMPLATE_MESSAGE}" ]; then
|
||||||
push_command+=" --message ${CODER_TEMPLATE_MESSAGE}"
|
push_command+=" --message "${CODER_TEMPLATE_MESSAGE}""
|
||||||
fi
|
fi
|
||||||
push_command+=" --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