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:
27
27
root : ~/react-forms
28
28
paths :
29
29
- " *"
30
- deploy :
30
+ release :
31
31
working_directory : ~/react-forms
32
32
docker :
33
33
- image : circleci/node
34
34
steps :
35
35
- attach_workspace :
36
36
at : ~/react-forms
37
37
- run :
38
- name : Authenticate with registry
38
+ name : Release new version
39
39
command : |
40
40
npm set //registry.npmjs.org/:_authToken=$NPM_TOKEN
41
41
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
+
42
54
43
55
workflows :
44
56
version : 2
45
57
build_and_deploy :
46
58
jobs :
47
59
- build
60
+ - release :
61
+ requires :
62
+ - build
63
+ filters :
64
+ branches :
65
+ only : master
48
66
- deploy :
49
67
requires :
50
68
- build
You can’t perform that action at this time.
0 commit comments