From 11eda96cc80f654fef1915723f6c208781637913 Mon Sep 17 00:00:00 2001 From: ChuYong Date: Sat, 28 Oct 2023 22:51:02 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20=ED=95=84=EC=9A=94=20=EC=9D=B8?= =?UTF-8?q?=EC=A6=9D=EC=A0=95=EB=B3=B4=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yaml | 8 +++++--- .github/workflows/prod.yaml | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 33f547c..b547d31 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -31,9 +31,11 @@ jobs: contents: read steps: - - name: AWS ECR 로그인하기 - id: login-ecr - uses: aws-actions/amazon-ecr-login@v1 + - name: AWS 인증정보 준비하기 + uses: aws-actions/configure-aws-credentials@v2 + with: + role-to-assume: ${{ secrets.AWS_ASSUME_ROLE_ARN }} + aws-region: ${{ secrets.AWS_REGION }} - name: AWS 태스크 정의 파일 내려받기 run: | diff --git a/.github/workflows/prod.yaml b/.github/workflows/prod.yaml index f3b8f64..237178b 100644 --- a/.github/workflows/prod.yaml +++ b/.github/workflows/prod.yaml @@ -62,7 +62,7 @@ jobs: call-deploy-workflow: if: github.event_name == 'push' - needs: [ call-build-workflow ] + needs: [ prepare-variables, call-build-workflow ] name: AWS ECS 배포 uses: ./.github/workflows/deploy.yaml permissions: