Skip to content

Commit b69246c

Browse files
committed
Pass token through npm.
1 parent 895db63 commit b69246c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.travis.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,7 @@ script:
5050
- npm test
5151

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

5655
notifications:
5756
webhooks:

0 commit comments

Comments
 (0)