diff --git a/.github/workflows/github-actions.yml b/.github/workflows/github-actions.yml index cdc9d58..a25fdeb 100644 --- a/.github/workflows/github-actions.yml +++ b/.github/workflows/github-actions.yml @@ -17,6 +17,14 @@ jobs: with: python-version: 3.12.4 + - name: Configure AWS credentials + if: ${{ github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/main' }} + uses: aws-actions/configure-aws-credentials@v1 + with: + aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY }} + aws-secret-access-key: ${{ secrets.AWS_SECRET_KEY }} + aws-region: ${{ secrets.AWS_REGION }} + - name: 배포 Dir 생성 if: ${{ github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/main' }} working-directory: ./