File tree Expand file tree Collapse file tree 2 files changed +3
-15
lines changed
packages/react-renderer-demo Expand file tree Collapse file tree 2 files changed +3
-15
lines changed Original file line number Diff line number Diff line change @@ -48,34 +48,22 @@ jobs:
48
48
- run :
49
49
name : Predeploy demo
50
50
command : |
51
- yarn --cwd packages/react-renderer-demo/ predeploy
51
+ yarn --cwd packages/react-renderer-demo/ create-deploy-files
52
52
- store_artifacts :
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
- - " *"
60
56
deploy :
61
57
working_directory : ~/react-forms
62
58
docker :
63
59
- image : circleci/node:10
64
60
steps :
65
61
- attach_workspace :
66
62
at : ~/react-forms
67
- - run :
68
- name : ' Switch to correct folder'
69
- command : |
70
- cd ~/react-forms/packages/react-renderer-demo
71
- - run :
72
- name : Install Firebase Tools
73
- command : |
74
- npm install --prefix=./firebase-deploy firebase-tools
75
63
- run :
76
64
name : Deploy demo
77
65
command : |
78
- ~ /react-forms/firebase-deploy/node_modules/.bin/firebase deploy --token=$FIREBASE_TOKEN
66
+ yarn --cwd packages /react-renderer-demo/ deploy --token=$FIREBASE_TOKEN
79
67
- save_cache :
80
68
key : dependency-cache-{{ checksum "yarn.lock" }}
81
69
paths :
Original file line number Diff line number Diff line change 9
9
"dev" : " next \" src/app/\" " ,
10
10
"preserve" : " npm run build-public && npm run build-funcs && npm run build-app && npm run copy-deps && npm run install-deps" ,
11
11
"serve" : " cross-env NODE_ENV=production firebase serve" ,
12
- "predeploy " : " npm run build-public && npm run build-funcs && npm run build-app && npm run copy-deps" ,
12
+ "create-deploy-files " : " npm run build-public; npm run build-funcs; npm run build-app; npm run copy-deps" ,
13
13
"deploy" : " NODE_ENV=production firebase deploy" ,
14
14
"clean" : " rimraf \" dist/functions/**\" && rimraf \" dist/public\" " ,
15
15
"build-public" : " cpx \" src/public/**/*.*\" \" dist/public\" -C" ,
You can’t perform that action at this time.
0 commit comments