Skip to content

Commit

Permalink
Modif CICD
Browse files Browse the repository at this point in the history
  • Loading branch information
ingcloud-fr committed Aug 1, 2024
1 parent 0b594f0 commit 22d5710
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: "eu-west-3"
aws-region: eu-west-3

- name: Login to AWS ECR
id: login-ecr
Expand All @@ -52,7 +52,7 @@ jobs:
ECS_CLUSTER_NAME: twitter-stage-cluster
ECS_SERVICE_NAME: twitter-stage-service
IMAGE_URI: ${{ steps.login-ecr.outputs.registry }}/twitter_light:latest
ACCOUNT_ID: ${{ secrets.ACCOUNT_ID }}
SECRET_KEY: ${{ secrets.SECRET_KEY }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
run: |
aws ecs update-service --cluster $ECS_CLUSTER_NAME --service $ECS_SERVICE_NAME --force-new-deployment

0 comments on commit 22d5710

Please sign in to comment.