From 22d5710a5f933cfc1c83a2ddad231618e3f47849 Mon Sep 17 00:00:00 2001 From: Vincent Date: Thu, 1 Aug 2024 04:58:19 +0000 Subject: [PATCH] Modif CICD --- .github/workflows/ci-cd.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index c5d305c..ded9cfd 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -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 @@ -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