Skip to content

Commit

Permalink
chore: add bucket env
Browse files Browse the repository at this point in the history
  • Loading branch information
kcwww committed Apr 19, 2024
1 parent 0a12506 commit 8ed8bef
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/tempFrontDeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,11 @@ jobs:
aws-region: ap-northeast-2

- name: Upload to S3
env:
BUCKET_NAME: ${{ secrets.AWS_S3_BUCKET_NAME}}
run: |
aws s3 sync \
./front/dist s3://snowball-ssock --delete
./front/dist s3://$BUCKET_NAME --delete
- name: CloudFront Invalidation
env:
Expand Down

0 comments on commit 8ed8bef

Please sign in to comment.