Skip to content

Commit

Permalink
Pass token through npm.
Browse files Browse the repository at this point in the history
  • Loading branch information
octalmage committed Feb 27, 2018
1 parent 895db63 commit b69246c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ script:
- npm test

after_success:
- if [ $TRAVIS_BRANCH == "master" ]; then echo upload=$GITHUB_TOKEN > ~/.prebuildrc; fi
- if [ $TRAVIS_BRANCH == "master" ]; then npm run prebuild; fi
- if [ $TRAVIS_BRANCH == "master" ]; then npm run prebuild -- -u $GITHUB_TOKEN; fi

notifications:
webhooks:
Expand Down

0 comments on commit b69246c

Please sign in to comment.