From b69246cccc6bbe6878e0e9c8630a027bfc2ab753 Mon Sep 17 00:00:00 2001 From: Jason Stallings Date: Tue, 27 Feb 2018 00:27:38 -0600 Subject: [PATCH] Pass token through npm. --- .travis.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index c894d50d..e986fe07 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: