File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff 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
8390workflows :
8491 version : 2
85- build_test :
92+ build_test_deploy :
8693 jobs :
8794 - build
8895 - lint :
Original file line number Diff line number Diff line change 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 },
You can’t perform that action at this time.
0 commit comments