Skip to content

Commit 6ab528b

Browse files
chore(travis): fix now handling
1 parent bc41406 commit 6ab528b

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.travis.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,18 @@ after_success:
3131
fi
3232
if [[ $TRAVIS_BRANCH == 'master' || $TRAVIS_BRANCH == 'next' ]] && [[ $TRAVIS_PULL_REQUEST == 'false' ]]; then
3333
printf "//registry.npmjs.org/:_authToken=$NPM_TOKEN\n" > ~/.npmrc
34-
npm install --no-save [email protected] now
34+
npm install --no-save [email protected]
3535
npm run release
3636
fi
3737
if [[ $TRAVIS_BRANCH == 'master' ]] && [[ $TRAVIS_PULL_REQUEST == 'false' ]]; then
38-
now ./packages/overmind-website --token $NOW_TOKEN && now alias overmindjs.org --token $NOW_TOKEN
38+
cd ./packages/overmind-website
39+
npm install --no-save now
40+
now --token $NOW_TOKEN && now alias overmindjs.org --token $NOW_TOKEN
3941
fi
4042
if [[ $TRAVIS_BRANCH == 'next' ]] && [[ $TRAVIS_PULL_REQUEST == 'false' ]]; then
41-
now ./packages/overmind-website --token $NOW_TOKEN && now alias next.overmindjs.org --token $NOW_TOKEN
43+
cd ./packages/overmind-website
44+
npm install --no-save now
45+
now --token $NOW_TOKEN && now alias next.overmindjs.org --token $NOW_TOKEN
4246
fi
4347
branches:
4448
except:

0 commit comments

Comments
 (0)