Skip to content

Commit f69e097

Browse files
Update workflow to access right element
- The arn needs to be used specifically
1 parent 03b56e0 commit f69e097

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/deploy-application.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ jobs:
203203
echo "$ecs_variables"
204204
cluster_name=$(echo "$ecs_variables" | jq -r '.cluster_name')
205205
service_name=$(echo "$ecs_variables" | jq -r '.good_job.service_name')
206-
task_definition=$(echo "$ecs_variables" | jq -r '.good_job.task_definition')
206+
task_definition=$(echo "$ecs_variables" | jq -r '.good_job.task_definition.arn')
207207
DEPLOYMENT_ID=$(aws ecs update-service --cluster $cluster_name --service $service_name \
208208
--task-definition $task_definition --force-new-deployment \
209209
--query 'service.deployments[?rolloutState==`IN_PROGRESS`].[id][0]' --output text)

0 commit comments

Comments
 (0)