Skip to content

Instantly share code, notes, and snippets.

@danielmatthew
Last active December 9, 2017 23:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danielmatthew/b12351e48e49c2b6b3e7277872b68432 to your computer and use it in GitHub Desktop.
Save danielmatthew/b12351e48e49c2b6b3e7277872b68432 to your computer and use it in GitHub Desktop.
danmatthew.co.uk Travis config
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
@danielmatthew
Copy link
Author

Builds Gatsby site; uses s3_website to sync and invalidate CF.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment