Addition of --delete flag on s3 sync command

This commit is contained in:
mitchelljfs 2018-07-21 02:08:03 -07:00
parent e9bbfeec57
commit 50b28490ac
1 changed files with 1 additions and 1 deletions

View File

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