-
-
Notifications
You must be signed in to change notification settings - Fork 531
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #379 from wwayne/travis_docs
ci(gh-pages): Allow travis to publish new examples to github
- Loading branch information
Showing
3 changed files
with
78 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,10 @@ install: | |
|
||
script: | ||
- npm run build | ||
- 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 | ||
|
||
after_success: | ||
- npm run semantic-release | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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