File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -53,21 +53,29 @@ jobs:
53
53
when : on_fail
54
54
name : Uploading predeploy failure artifact to assist with debugging
55
55
path : /home/circleci/.npm/_logs/*.log
56
+ - persist_to_workspace :
57
+ root : ~/react-forms
58
+ paths :
59
+ - " *"
56
60
deploy :
57
61
working_directory : ~/react-forms
58
62
docker :
59
63
- image : circleci/node:10
60
64
steps :
61
65
- attach_workspace :
62
66
at : ~/react-forms
67
+ - run :
68
+ name : ' Switch to correct folder'
69
+ command : |
70
+ cd ~/react-forms/packages/react-renderer-demo
63
71
- run :
64
72
name : Install Firebase Tools
65
73
command : |
66
74
npm install --prefix=./firebase-deploy firebase-tools
67
75
- run :
68
76
name : Deploy demo
69
77
command : |
70
- yarn --cwd packages /react-renderer-demo/ deploy --token=$FIREBASE_TOKEN
78
+ ~ /react-forms/firebase-deploy/node_modules/.bin/firebase deploy --token=$FIREBASE_TOKEN
71
79
- save_cache :
72
80
key : dependency-cache-{{ checksum "yarn.lock" }}
73
81
paths :
You can’t perform that action at this time.
0 commit comments