Skip to content

Commit

Permalink
fix(ci): add github token to config (#183)
Browse files Browse the repository at this point in the history
* fix(ci): add github token to config

* view output from gh-pages deploy
  • Loading branch information
kevinchappell authored Mar 22, 2019
1 parent 9879174 commit f8273cb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ git:
submodules: false
before_install:
- "git config --global user.name \"\U0001F916\""
- "git config --global github.token ${GH_TOKEN}"
jobs:
include:
- stage: lint
Expand All @@ -29,4 +30,4 @@ jobs:
- yarn travis-deploy-once "yarn semantic-release"
skip_cleanup: true
after_deploy:
- git push --force "https://${GH_TOKEN}@${GH_REPO}" $(git subtree split --prefix demo master):gh-pages > /dev/null 2>&1
- git push --force "https://${GH_TOKEN}@${GH_REPO}" $(git subtree split --prefix demo master):gh-pages

0 comments on commit f8273cb

Please sign in to comment.