Minor changes to travis config

This commit is contained in:
mitchelljfs 2018-07-21 01:59:45 -07:00
parent b09cb56f77
commit b904072d2d
1 changed files with 5 additions and 1 deletions

View File

@ -12,7 +12,11 @@ install:
script: script:
- "npm run build" - "npm run build"
- "aws s3 sync ./build/ s3://mjfs.us --acl public-read"
deploy:
- "aws s3 sync ./build/ s3://mjfs.us --acl public-read --delete"
after_deploy:
- > - >
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 /asset-manifest.json /favicon.ico /index.html /manifest.json /service-worker.js