Skip to content

Commit 900853a

Browse files
chore(website): change to now version 2
1 parent 06df1e8 commit 900853a

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ after_success:
3939
npm run release
4040
fi
4141
if [[ $TRAVIS_BRANCH == 'master' ]] && [[ $TRAVIS_PULL_REQUEST == 'false' ]]; then
42-
now ./packages/overmind-website --docker --token $NOW_TOKEN && now alias overmindjs.org --token $NOW_TOKEN
42+
now ./packages/overmind-website --token $NOW_TOKEN && now alias overmindjs.org --token $NOW_TOKEN
4343
fi
4444
if [[ $TRAVIS_BRANCH == 'next' ]] && [[ $TRAVIS_PULL_REQUEST == 'false' ]]; then
45-
now ./packages/overmind-website --docker --token $NOW_TOKEN && now alias next.overmindjs.org --token $NOW_TOKEN
45+
now ./packages/overmind-website --token $NOW_TOKEN && now alias next.overmindjs.org --token $NOW_TOKEN
4646
fi
4747
branches:
4848
except:

packages/overmind-website/now.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"name": "overmind-website",
3+
"version": 2,
4+
"builds": [
5+
{ "src": "package.json", "use": "@now/static-build" },
6+
{ "src": "backend/index.js", "use": "@now/node-server" }
7+
]
8+
}

packages/overmind-website/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
"scripts": {
1010
"start": "node backend/index",
1111
"dev": "concurrently \"node backend/index.js\" \"webpack-dev-server --port 4000 --mode development --hot --inline\"",
12-
"build": "webpack --mode=production",
12+
"build": "webpack --mode=production",
13+
"now-build": "npm run build",
1314
"typecheck": "tsc --noEmit",
1415
"prepare": "npm run build",
1516
"posttest": "npm run typecheck"

0 commit comments

Comments
 (0)