Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ function modifyTaskDefinitionFile() {
if jq < "$TASK_DEFINITION_FILE" &> /dev/null; then
echo -e "${RED}Task Definition became invalid JSON after modifications (invalid_task_definition)."

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

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

Expand Down