Skip to content

Commit

Permalink
chore: 필요 인증정보 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
CChuYong committed Oct 28, 2023
1 parent b57786b commit 11eda96
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 11eda96

Please sign in to comment.