Skip to content

Commit

Permalink
[task defination]
Browse files Browse the repository at this point in the history
  • Loading branch information
alvo254 committed Jun 12, 2024
1 parent d7dd7bd commit 687675f
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/aws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,18 @@ jobs:
# container-name: ${{ env.CONTAINER_NAME }}
# image: $DOCKER_USERNAME/$DOCKER_REPOSITORY:$IMAGE_TAG

- name: Deploy Amazon ECS task definition
# - name: Deploy Amazon ECS task definition
# uses: aws-actions/amazon-ecs-deploy-task-definition@v1
# with:
# task-definition: ${{ steps.task-def.outputs.task-definition }}
# service: ${{ env.ECS_SERVICE }}
# cluster: ${{ env.ECS_CLUSTER }}
# wait-for-service-stability: true

- name: Deploy to ECS
uses: aws-actions/amazon-ecs-deploy-task-definition@v1
with:
task-definition: ${{ steps.task-def.outputs.task-definition }}
service: ${{ env.ECS_SERVICE }}
cluster: ${{ env.ECS_CLUSTER }}
service: ${{ secrets.ECS_SERVICE }}
cluster: ${{ secrets.ECS_CLUSTER }}
task-definition: modules/ecs/container_definitions.json
wait-for-service-stability: true

0 comments on commit 687675f

Please sign in to comment.