From 02a831685d07fcb6616e5ecc6def89bc4f90d825 Mon Sep 17 00:00:00 2001 From: manyb2ns Date: Thu, 23 Nov 2023 00:50:55 +0900 Subject: [PATCH] =?UTF-8?q?update:=20=EB=B3=80=EC=88=98=20=EC=9D=B4?= =?UTF-8?q?=EB=A6=84=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/front.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/front.yml b/.github/workflows/front.yml index 17d7a97d..58169967 100644 --- a/.github/workflows/front.yml +++ b/.github/workflows/front.yml @@ -6,7 +6,8 @@ on: env: ECR_URL: ${{ secrets.ECR_REPO_DEV_FRONT }} ROLE_ARN: ${{ secrets.OIDC_ROLE }} - AWS_REGION: ${{ secrets.AWS_REGION }} + # AWS_REGION: ${{ secrets.AWS_REGION }} + FRONT_AWS_REGION: ${{ secrets.FRONT_AWS_REGION }} WEBHOOK_URL: ${{ secrets.WEBHOOK }} permissions: @@ -29,9 +30,9 @@ jobs: - name: Configure AWS Credentials uses: aws-actions/configure-aws-credentials@v1 with: + aws-region: ${{ env.FRONT_AWS_REGION }} role-session-name: GitHubActions - role-to-assume: ${{ secrets.ROLE_ARN }} - aws-region: ${{ secrets.AWS_REGION }} + role-to-assume: ${{ env.ROLE_ARN }} - name: Login to Amazon ECR id: login-ecr