Skip to content

Commit

Permalink
Update frontend-prod-cd.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
shackstack authored Dec 20, 2023
1 parent da4b24f commit 22e5bb6
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/frontend-prod-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,11 @@ jobs:
run: yarn build:prod

- name: 배포
uses: awact/s3-action@master
with:
args: --acl public-read --follow-symlinks --delete
env:
SOURCE_DIR: './frontend/dist'
AWS_REGION: 'ap-northeast-2'
AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET_ }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_S3_BUCKET_URI: ${{ secrets.AWS_S3_BUCKET_URI }}
run: |
aws s3 sync $SOURCE_DIR $AWS_S3_BUCKET_URI

0 comments on commit 22e5bb6

Please sign in to comment.