Last active
December 9, 2017 23:13
-
-
Save danielmatthew/b12351e48e49c2b6b3e7277872b68432 to your computer and use it in GitHub Desktop.
danmatthew.co.uk Travis config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
branches: | |
only: | |
- master | |
language: ruby | |
rvm: 2.2 | |
sudo: required | |
dist: trusty | |
cache: | |
- npm | |
install: | |
- . $HOME/.nvm/nvm.sh | |
- nvm install stable | |
- nvm use stable | |
- gem install s3_website | |
- npm install | |
script: | |
- npm run build | |
after_script: | |
- s3_website push |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Builds Gatsby site; uses s3_website to sync and invalidate CF.