Skip to content

Commit 700c370

Browse files
committed
Give up on Now's GitHub integration and revert back to CircleCI to trigger deploys.
1 parent 8e08952 commit 700c370

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.circleci/config.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,17 @@ 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
87+
fi
88+
no_output_timeout: 30m
8289

8390
workflows:
8491
version: 2
85-
build_test:
92+
build_test_deploy:
8693
jobs:
8794
- build
8895
- lint:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"build:packages": "lerna run --scope 'react-async*' build",
3030
"build:examples": "lerna run --scope '*-example' build",
3131
"build:storybook": "build-storybook -o docs",
32-
"now-build": "yarn bootstrap",
32+
"deploy:examples": "now --scope async-library --token $NOW_API_TOKEN",
3333
"bump": "lerna version -m 'Bump' --no-git-tag-version --no-push",
3434
"postbump": "yarn build:packages"
3535
},

0 commit comments

Comments
 (0)