mirror of
https://github.com/matifali/update-coder-template.git
synced 2025-10-20 03:45:56 +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:
|
||||
description: "Dry run"
|
||||
required: false
|
||||
default: "true" # make it false after testing TODO
|
||||
default: "false"
|
||||
|
||||
runs:
|
||||
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
|
||||
if [ -n "${CODER_TEMPLATE_MESSAGE}" ]; then
|
||||
push_command+=" --message ${CODER_TEMPLATE_MESSAGE}"
|
||||
push_command+=" --message "${CODER_TEMPLATE_MESSAGE}""
|
||||
fi
|
||||
push_command+=" --message ${CODER_TEMPLATE_MESSAGE}"
|
||||
|
||||
# Append --create flag to the push command if CODER_TEMPLATE_CREATE is true
|
||||
if [ "${CODER_TEMPLATE_CREATE}" = "true" ]; then
|
||||
|
|
Loading…
Add table
Reference in a new issue