quote message

This commit is contained in:
Muhammad Atif Ali 2023-08-11 13:19:15 +03:00
parent 0b3202d989
commit a3b266ad26
2 changed files with 2 additions and 3 deletions

View file

@ -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"

View file

@ -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