Skip to content

Commit 501d6ab

Browse files
authored
fix: use RUNNER_DEBUG for verbose output (#27)
* fix: use RUNNER_DEBUG for verbose output * fix: use RUNNER_DEBUG for verbose output
1 parent cd223db commit 501d6ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deploy.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ function modifyTaskDefinitionFile() {
157157
if jq < "$TASK_DEFINITION_FILE" &> /dev/null; then
158158
echo -e "${RED}Task Definition became invalid JSON after modifications (invalid_task_definition)."
159159

160-
if [ -n "$ACTIONS_RUNNER_DEBUG" ]; then
160+
if [ -n "$RUNNER_DEBUG" ]; then
161161
echo "::debug::Debug enabled. Outputting modified Task Definition file.";
162162
cat "$TASK_DEFINITION_FILE"
163163
fi
@@ -166,7 +166,7 @@ function modifyTaskDefinitionFile() {
166166
fi
167167

168168
# Review changes (if debugging)
169-
if [ -n "$ACTIONS_RUNNER_DEBUG" ]; then
169+
if [ -n "$RUNNER_DEBUG" ]; then
170170
diff <(jq --sort-keys . "$ORIGINAL_TASK_DEFINITION_FILE") <(jq --sort-keys . "$TASK_DEFINITION_FILE") || true
171171
fi
172172

0 commit comments

Comments
 (0)