Skip to content

Commit

Permalink
Update build-staging-deploy-s3.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
saumier authored Sep 21, 2023
1 parent fd42277 commit 0308a99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-staging-deploy-s3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
run: aws s3 sync ./build s3://${{env.WEBHOSTING_BUCKET_NAME}}/ --acl public-read --delete --exclude index.html
- name: set cache-control on index.html
run: aws s3 cp ./build/index.html s3://${{env.WEBHOSTING_BUCKET_NAME}}/index.html --metadata-directive REPLACE --cache-control max-age=0,s-maxage=86400 --acl public-read --content-type text/html
# Invalidate CloudFront (this action)
# Invalidate CloudFront
- name: Invalidate CloudFront
uses: chetan/invalidate-cloudfront-action@v2
env:
Expand Down

0 comments on commit 0308a99

Please sign in to comment.