Skip to content

Commit

Permalink
Sync web directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahad-10 committed Jun 5, 2024
1 parent f7efd39 commit 521e53b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/upload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
aws-region: us-east-1

- name: Deploy static site to S3 bucket
run: aws s3 cp ./build/web/ s3://${{ secrets.AWS_BUCKET }}/wick/ --recursive
run: aws s3 sync ./build/web/ s3://${{ secrets.AWS_BUCKET }}/wick/ --delete

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

0 comments on commit 521e53b

Please sign in to comment.