File tree Expand file tree Collapse file tree 1 file changed +20
-2
lines changed Expand file tree Collapse file tree 1 file changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -27,24 +27,42 @@ jobs:
2727 root : ~/react-forms
2828 paths :
2929 - " *"
30- deploy :
30+ release :
3131 working_directory : ~/react-forms
3232 docker :
3333 - image : circleci/node
3434 steps :
3535 - attach_workspace :
3636 at : ~/react-forms
3737 - run :
38- name : Authenticate with registry
38+ name : Release new version
3939 command : |
4040 npm set //registry.npmjs.org/:_authToken=$NPM_TOKEN
4141 yarn release
42+ deploy :
43+ working_directory : ~/react-forms
44+ docker :
45+ - image : circleci/node
46+ steps :
47+ - attach_workspace :
48+ at : ~/react-forms
49+ - run :
50+ name : Deploy docs to firebase
51+ command : |
52+ echo "There will be firebase reploy"
53+
4254
4355workflows :
4456 version : 2
4557 build_and_deploy :
4658 jobs :
4759 - build
60+ - release :
61+ requires :
62+ - build
63+ filters :
64+ branches :
65+ only : master
4866 - deploy :
4967 requires :
5068 - build
You can’t perform that action at this time.
0 commit comments