Skip to content

Commit

Permalink
ci(travis): try to fix gh-pages for pull requests
Browse files Browse the repository at this point in the history
  • Loading branch information
aronhelser committed May 3, 2018
1 parent fcb835e commit eca8297
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ script:
- git config --global user.name "Travis CI"
- git config --global user.email "[email protected]"
- export GIT_PUBLISH_URL=https://${GH_TOKEN}@github.com/wwayne/react-tooltip.git
- if [ "$TRAVIS_BRANCH" == "master" ]; then npm run gh-pages -- --repo ${GIT_PUBLISH_URL}; fi
- if [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" = "false" ]; then npm run gh-pages -- --repo ${GIT_PUBLISH_URL}; fi

after_success:
- npm run semantic-release
Expand Down

0 comments on commit eca8297

Please sign in to comment.