Skip to content

Commit cbdfbcb

Browse files
committed
add travis
1 parent 37b40eb commit cbdfbcb

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.travis.yml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# .travis.yml
2+
language: node_js
3+
node_js:
4+
- "8"
5+
branches:
6+
only:
7+
- master
8+
cache:
9+
yarn: true
10+
script:
11+
- git config --global user.name "${GH_NAME}"
12+
- git config --global user.email "${GH_EMAIL}"
13+
- echo "machine github.com login ${GH_NAME} password ${GH_TOKEN}" > ~/.netrc
14+
- cd website && yarn install && GIT_USER="${GH_NAME}" yarn run publish-gh-pages

0 commit comments

Comments
 (0)