Skip to content

Commit

Permalink
Chore: aws 배포 워크플로우 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaeYubin committed Dec 20, 2024
1 parent de1508d commit 79ac980
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/aws_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,16 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm i
- run: npm run build --if-present
- run: npm install
- run: npm run build

- uses: awact/s3-action@master
- name: Deploy to S3
uses: jakejarvis/s3-sync-action@master
with:
args: --acl public-read --follow-symlinks --delete
env:
SOURCE_DIR: './next'
AWS_REGION: 'ap-northeast-2'
SOURCE_DIR: '.next'
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 }}

0 comments on commit 79ac980

Please sign in to comment.