Skip to content

Commit

Permalink
fix travis
Browse files Browse the repository at this point in the history
  • Loading branch information
mbasso committed Feb 6, 2018
1 parent acb364b commit a575553
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,12 @@ jobs:
language: node_js
node_js: "9"
install: true
script: skip
deploy:
provider: script
script:
- git config --global user.email "${GH_EMAIL}"
- git config --global user.name "${GH_NAME}"
- echo "machine github.com login ${GH_NAME} password ${GH_TOKEN}" > ~/.netrc
- cd website && npm install && GIT_USER="${GH_NAME}" npm run publish-gh-pages
on:
branch: master
script:
- git config --global user.email "${GH_EMAIL}"
- git config --global user.name "${GH_NAME}"
- echo "machine github.com login ${GH_NAME} password ${GH_TOKEN}" > ~/.netrc
- cd website && npm install && GIT_USER="${GH_NAME}" npm run publish-gh-pages
branches:
only:
- master
after_success: echo "Website online"

0 comments on commit a575553

Please sign in to comment.