Skip to content

Commit

Permalink
chore: adding github pages configuration for deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
roggervalf committed Feb 9, 2020
1 parent f30ae74 commit 208bdc9
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,20 @@ script:
- git config --global user.email "[email protected]"
- export GIT_PUBLISH_URL=https://${GH_TOKEN}@github.com/wwayne/react-tooltip.git
- if [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" = "false" ]; then yarn gh-pages -- --repo ${GIT_PUBLISH_URL}; fi
- cd example
- yarn build

deploy:
provider: pages
skip_cleanup: true
token: $GH_TOKEN
keep_history: true
on:
branch: refactoring

after_success:
- yarn semantic-release

branches:
except:
- "/^v\\d+\\.\\d+\\.\\d+$/"

0 comments on commit 208bdc9

Please sign in to comment.