Skip to content

Commit f8273cb

Browse files
fix(ci): add github token to config (#183)
* fix(ci): add github token to config * view output from gh-pages deploy
1 parent 9879174 commit f8273cb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ git:
1414
submodules: false
1515
before_install:
1616
- "git config --global user.name \"\U0001F916\""
17+
- "git config --global github.token ${GH_TOKEN}"
1718
jobs:
1819
include:
1920
- stage: lint
@@ -29,4 +30,4 @@ jobs:
2930
- yarn travis-deploy-once "yarn semantic-release"
3031
skip_cleanup: true
3132
after_deploy:
32-
- git push --force "https://${GH_TOKEN}@${GH_REPO}" $(git subtree split --prefix demo master):gh-pages > /dev/null 2>&1
33+
- git push --force "https://${GH_TOKEN}@${GH_REPO}" $(git subtree split --prefix demo master):gh-pages

0 commit comments

Comments
 (0)