Skip to content

Commit 1b43a40

Browse files
committed
fix: build and deploy
1 parent 1eb5993 commit 1b43a40

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/build-and-deploy-dev.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ jobs:
131131
fi
132132
}
133133
134+
INCLUDE_SCHEDULER=true
134135
write_overrides true > overrides.json
135136
136137
run_migration_task() {
@@ -147,8 +148,9 @@ jobs:
147148
148149
TASK_ARN=""
149150
if ! TASK_ARN=$(run_migration_task 2>migration-error.log); then
150-
if grep -q 'is not a container in the TaskDefinition' migration-error.log; then
151+
if [ "${INCLUDE_SCHEDULER}" = "true" ] && grep -q 'is not a container in the TaskDefinition' migration-error.log; then
151152
echo "Retrying migration without SchedulerContainer override" >&2
153+
INCLUDE_SCHEDULER=false
152154
write_overrides false > overrides.json
153155
TASK_ARN=$(run_migration_task 2>migration-error.log)
154156
else

0 commit comments

Comments
 (0)