@@ -22,7 +22,7 @@ Registers an Amazon ECS task definition and deploys it to an ECS service.
22
22
23
23
``` yaml
24
24
- name : Deploy to Amazon ECS
25
- uses : aws-actions/amazon-ecs-deploy-task-definition@v1
25
+ uses : aws-actions/amazon-ecs-deploy-task-definition@v2
26
26
with :
27
27
task-definition : task-definition.json
28
28
service : my-service
@@ -95,7 +95,7 @@ The task definition file can be updated prior to deployment with the new contain
95
95
image: ${{ steps.build-image.outputs.image }}
96
96
97
97
- name: Deploy Amazon ECS task definition
98
- uses: aws-actions/amazon-ecs-deploy-task-definition@v1
98
+ uses: aws-actions/amazon-ecs-deploy-task-definition@v2
99
99
with:
100
100
task-definition: ${{ steps.task-def.outputs.task-definition }}
101
101
service: my-service
@@ -165,7 +165,7 @@ For ECS services that uses the `CODE_DEPLOY` deployment controller, additional c
165
165
166
166
` ` ` yaml
167
167
- name: Deploy to Amazon ECS
168
- uses: aws-actions/amazon-ecs-deploy-task-definition@v1
168
+ uses: aws-actions/amazon-ecs-deploy-task-definition@v2
169
169
with:
170
170
task-definition: task-definition.json
171
171
service: my-service
@@ -231,7 +231,7 @@ In the following example, the service would not be updated until the ad-hoc task
231
231
232
232
` ` ` yaml
233
233
- name: Deploy to Amazon ECS
234
- uses: aws-actions/amazon-ecs-deploy-task-definition@v1
234
+ uses: aws-actions/amazon-ecs-deploy-task-definition@v2
235
235
with:
236
236
task-definition: task-definition.json
237
237
service: my-service
0 commit comments