Skip to content

Commit 208bdc9

Browse files
committed
chore: adding github pages configuration for deploy
1 parent f30ae74 commit 208bdc9

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.travis.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,20 @@ script:
1919
- git config --global user.email "aron.helser@kitware.com"
2020
- export GIT_PUBLISH_URL=https://${GH_TOKEN}@github.com/wwayne/react-tooltip.git
2121
- if [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" = "false" ]; then yarn gh-pages -- --repo ${GIT_PUBLISH_URL}; fi
22+
- cd example
23+
- yarn build
2224

25+
deploy:
26+
provider: pages
27+
skip_cleanup: true
28+
token: $GH_TOKEN
29+
keep_history: true
30+
on:
31+
branch: refactoring
32+
2333
after_success:
2434
- yarn semantic-release
25-
35+
2636
branches:
2737
except:
2838
- "/^v\\d+\\.\\d+\\.\\d+$/"

0 commit comments

Comments
 (0)