Skip to content

Commit 0a7148e

Browse files
committed
docs: Update readme to reference v2 version tag
1 parent fcd7708 commit 0a7148e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Registers an Amazon ECS task definition and deploys it to an ECS service.
2222

2323
```yaml
2424
- 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
2626
with:
2727
task-definition: task-definition.json
2828
service: my-service
@@ -95,7 +95,7 @@ The task definition file can be updated prior to deployment with the new contain
9595
image: ${{ steps.build-image.outputs.image }}
9696
9797
- 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
9999
with:
100100
task-definition: ${{ steps.task-def.outputs.task-definition }}
101101
service: my-service
@@ -165,7 +165,7 @@ For ECS services that uses the `CODE_DEPLOY` deployment controller, additional c
165165

166166
```yaml
167167
- 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
169169
with:
170170
task-definition: task-definition.json
171171
service: my-service
@@ -231,7 +231,7 @@ In the following example, the service would not be updated until the ad-hoc task
231231

232232
```yaml
233233
- 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
235235
with:
236236
task-definition: task-definition.json
237237
service: my-service

0 commit comments

Comments
 (0)