Skip to content

Commit 1f17f67

Browse files
chore(now): with config
1 parent 3df3c49 commit 1f17f67

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ 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-pipeline
34+
npm install --no-save [email protected] now
3535
npm run release
3636
fi
3737
if [[ $TRAVIS_BRANCH == 'master' ]] && [[ $TRAVIS_PULL_REQUEST == 'false' ]]; then
38-
now-pipeline --dir ./packages/overmind-website --alias overmindjs.org
38+
now ./packages/overmind-website --token $NOW_TOKEN && now alias overmindjs.org --token $NOW_TOKEN
3939
fi
4040
if [[ $TRAVIS_BRANCH == 'next' ]] && [[ $TRAVIS_PULL_REQUEST == 'false' ]]; then
41-
now-pipeline --dir ./packages/overmind-website --alias next.overmindjs.org
41+
now ./packages/overmind-website --token $NOW_TOKEN && now alias next.overmindjs.org --token $NOW_TOKEN
4242
fi
4343
branches:
4444
except:

now.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"name": "overmind-website"
3+
}

0 commit comments

Comments
 (0)