Skip to content

Commit

Permalink
feat(deploy-ecs/deploy.sh): add group to task update
Browse files Browse the repository at this point in the history
  • Loading branch information
firestack committed Apr 26, 2024
1 parent 0219bb6 commit 5289876
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion deploy-ecs/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,9 @@ newrevision="$(aws ecs describe-task-definition --task-definition "${ECS_TASK_DE
jq -r '.taskDefinition.revision')"

# redeploy the cluster
echo "Updating service ${ECS_SERVICE} to use task definition ${newrevision}..."
echo "::group::Updating service ${ECS_SERVICE} to use task definition ${newrevision}..."
aws ecs update-service --cluster="${ECS_CLUSTER}" --service="${ECS_SERVICE}" --task-definition "${ECS_TASK_DEF}:${newrevision}"
echo "::endgroup::"

# monitor the cluster for status
deployment_finished=false
Expand Down

0 comments on commit 5289876

Please sign in to comment.