mirror of https://github.com/mitchell/mjfs.us.git
Addition of --delete flag on s3 sync command
This commit is contained in:
parent
e9bbfeec57
commit
50b28490ac
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue