Skip to content

Commit

Permalink
Update workflow env param
Browse files Browse the repository at this point in the history
  • Loading branch information
mahdiridho committed Jul 20, 2024
1 parent 63010a3 commit c6fe41d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ jobs:
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ap-northeast-1
aws-region: ${{ secrets.WEB_REGION }}

- name: Deploy static site to S3 bucket
run: |
npm install
npm run build
pushd dist
aws s3 sync . s3://audioctxai.com --delete --sse AES256 --cache-control no-cache
aws s3 sync . s3://${{ secrets.WEB_BUCKET }} --delete --sse AES256 --cache-control no-cache
popd
rm -rf node_modules package-log.json dist

0 comments on commit c6fe41d

Please sign in to comment.