Skip to content

Commit

Permalink
Merge pull request #38 from Mahad-10/sync-web-app
Browse files Browse the repository at this point in the history
Sync web directory with S3 bucket
  • Loading branch information
Mahad-10 authored Jun 5, 2024
2 parents f7efd39 + 521e53b commit 6283760
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 6283760

Please sign in to comment.