mjfs.us/.travis.yml

17 lines
333 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"
2018-07-16 07:48:51 +00:00
- "aws s3 sync ./build/ s3://mjfs.us --acl public-read"
- "aws cloudfront create-invalidation --distribution-id $CF_DISTRIBUTION_ID --paths \"/*\""