Specifying invalidations

This commit is contained in:
mitchelljfs 2018-07-16 01:01:21 -07:00
parent 4c07e2f0b0
commit 990baa7cd3
1 changed files with 3 additions and 1 deletions

View File

@ -13,4 +13,6 @@ install:
script:
- "npm run build"
- "aws s3 sync ./build/ s3://mjfs.us --acl public-read"
- "aws cloudfront create-invalidation --distribution-id $CF_DISTRIBUTION_ID --paths \"/*\""
- >
aws cloudfront create-invalidation --distribution-id $CF_DISTRIBUTION_ID --paths
/asset-manifest.json /favicon.ico /index.html /manifest.json /service-worker.js