Skip to content

Commit

Permalink
Update pull-request.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cesarempathy authored Oct 5, 2023
1 parent 3c0169e commit 9e2b9f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
aws-region: eu-west-1
- name: Sync files to the bucket
run: |
aws s3 sync dist ${{ secrets.TEST_BUCKET }}/preview/${{ github.event.number }} --delete --cache-control no-store --include '*' --exclude '*/*' max-age=3600 --no-progress
aws s3 sync dist ${{ secrets.TEST_BUCKET }}/preview/${{ github.event.number }} --delete --cache-control no-store max-age=3600 --include '*' --exclude '*/*' --no-progress
- name: Invalidate CloudFront cache
run: AWS_MAX_ATTEMPTS=10 aws cloudfront create-invalidation --distribution-id ${{ secrets.CLOUDFRONT_ID_TEST }} --paths '/preview/${{ github.event.number }}/*'
- name: Adding comment to PR with preview link and validation results
Expand Down

0 comments on commit 9e2b9f9

Please sign in to comment.