Skip to content

Commit 8785901

Browse files
chore(deploy): change to support www on master deploy
1 parent e209b7d commit 8785901

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ after_success:
3838
npm run release
3939
fi
4040
if [[ $TRAVIS_BRANCH == 'master' ]] && [[ $TRAVIS_PULL_REQUEST == 'false' ]]; then
41-
now ./packages/overmind-website --docker --token $NOW_TOKEN && now alias overmindjs.org --token $NOW_TOKEN
41+
42+
now ./packages/overmind-website -e REDIRECT_URL=https://overmindjs.org/ now-examples/redirect --docker --token $NOW_TOKEN && now alias www.overmindjs.org --token $NOW_TOKEN
4243
fi
4344
if [[ $TRAVIS_BRANCH == 'next' ]] && [[ $TRAVIS_PULL_REQUEST == 'false' ]]; then
4445
now ./packages/overmind-website --docker --token $NOW_TOKEN && now alias next.overmindjs.org --token $NOW_TOKEN

0 commit comments

Comments
 (0)