Skip to content

Commit 078fbf0

Browse files
committed
Rely on Now's GitHub integration to do the deploy. Make sure Now runs bootstrap too.
1 parent 3bd090e commit 078fbf0

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

.circleci/config.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -79,17 +79,10 @@ jobs:
7979
- run:
8080
name: Test examples
8181
command: yarn test:examples
82-
- run:
83-
name: Deploy examples
84-
command: |
85-
if [ "${CIRCLE_BRANCH}" == "master" ]; then
86-
yarn deploy:examples --token $NOW_API_TOKEN
87-
fi
88-
no_output_timeout: 30m
8982

9083
workflows:
9184
version: 2
92-
build_test_deploy:
85+
build_test:
9386
jobs:
9487
- build
9588
- lint:
@@ -103,4 +96,4 @@ workflows:
10396
- test
10497
- examples:
10598
requires:
106-
- build
99+
- build

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"packages/*"
1111
],
1212
"scripts": {
13+
"postinstall": "yarn bootstrap",
1314
"bootstrap": "yarn build:packages && yarn workspaces run install",
1415
"clean": "lerna clean",
1516
"start": "run-p start:*",
@@ -29,7 +30,6 @@
2930
"build:packages": "lerna run --scope 'react-async*' build",
3031
"build:examples": "lerna run --scope '*-example' build",
3132
"build:storybook": "build-storybook -o docs",
32-
"deploy:examples": "now",
3333
"bump": "lerna version -m 'Bump' --no-git-tag-version --no-push",
3434
"postbump": "yarn build:packages"
3535
},

0 commit comments

Comments
 (0)