Skip to content

Commit

Permalink
deploy時にエラーが発生するために、バージョンを変更
Browse files Browse the repository at this point in the history
  • Loading branch information
mametaro99 committed Jan 11, 2025
1 parent ecb3a6a commit 76fa507
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
image: ${{ steps.build-image.outputs.image }}

- name: Deploy Amazon ECS task definition
uses: aws-actions/amazon-ecs-deploy-task-definition@v1
uses: aws-actions/amazon-ecs-deploy-task-definition@v2
with:
task-definition: ${{ steps.task-def.outputs.task-definition }}
service: ${{ env.ECS_SERVICE_BACKEND }}
Expand Down Expand Up @@ -116,7 +116,7 @@ jobs:
image: ${{ steps.build-image.outputs.image }}

- name: Deploy Amazon ECS task definition
uses: aws-actions/amazon-ecs-deploy-task-definition@v1
uses: aws-actions/amazon-ecs-deploy-task-definition@v2
with:
task-definition: ${{ steps.task-def.outputs.task-definition }}
service: ${{ env.ECS_SERVICE_FRONTEND }}
Expand Down

1 comment on commit 76fa507

@mametaro99
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

aws-actions/amazon-ecs-deploy-task-definition#64

上記のコメントに基づき、

amazon-ecs-deploy-task-definition@v1

上記から、以下のようにバージョンを1から2に変更
amazon-ecs-deploy-task-definition@v2

Please sign in to comment.