Created
April 18, 2018 09:45
-
-
Save huchenme/fc3afa589cd64d6cdedad92fb7d70851 to your computer and use it in GitHub Desktop.
Travis config for Gatsby automatically deployment
This file contains 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
language: node_js | |
cache: | |
directories: | |
- ~/.npm | |
notifications: | |
email: | |
recipients: | |
- chen@huchen.me | |
on_success: always | |
on_failure: always | |
node_js: | |
- '9' | |
git: | |
depth: 3 | |
script: | |
- yarn build | |
deploy: | |
provider: pages | |
skip-cleanup: true | |
keep-history: true | |
github-token: $GITHUB_TOKEN | |
local-dir: public | |
target-branch: master | |
on: | |
branch: develop |
Underscore is invalid in your error message
Thanks I deleted my question when build success
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Underscore is invalid in your error message