Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
VincenzoMeschi authored Dec 26, 2023
1 parent 4350b1d commit 402a6ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ jobs:
- name : Build Application
run: npm run build
- name : Deploy to s3
run: aws s3 sync ./build s3://${{ secrets.BUCKET_NAME }} --recursive
run: aws s3 sync ./build s3://${{ secrets.BUCKET_NAME }}
- name : Create CloudFront Invalidation
run : aws cloudfront create-invalidation --distribution-id ${{ secrets.DISTRIBUTION_ID }} --paths "/*"

0 comments on commit 402a6ab

Please sign in to comment.