mjfs.us/.travis.yml

19 lines
414 B
YAML
Raw Normal View History

language: node_js
node_js:
- "10"
before_install:
- "sh ./travis_credential_setup.sh"
install:
- "npm install"
- "pip install awscli --user"
script:
- "npm run build"
- "aws s3 sync ./build/ s3://mjfs.us --acl public-read"
2018-07-16 08:01:21 +00:00
- >
aws cloudfront create-invalidation --distribution-id $CF_DISTRIBUTION_ID --paths
/asset-manifest.json /favicon.ico /index.html /manifest.json /service-worker.js