Skip to content

Commit

Permalink
Update deployment.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
YujunSun0 authored Jan 11, 2024
1 parent dbf27f6 commit 0dad8b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
aws-region: ${{ secrets.AWS_REGION }}

- name: Deploy to S3
run: aws s3 sync ./client/build s3://${{ secrets.DEV_AWS_S3_BUCKET }} --delete
run: aws s3 sync ./client/build s3://${{ secrets.DEV_AWS_S3_BUCKETNAME }} --delete

- name: Invalidate CloudFront Cache
run: aws cloudfront create-invalidation --distribution-id ${{secrets.DEV_AWS_DISTRIBUTION_ID}} --paths "/*"

0 comments on commit 0dad8b6

Please sign in to comment.