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:
4848 - run :
4949 name : Predeploy demo
5050 command : |
51- yarn --cwd packages/react-renderer-demo/ predeploy
51+ yarn --cwd packages/react-renderer-demo/ create-deploy-files
5252 - store_artifacts :
5353 when : on_fail
5454 name : Uploading predeploy failure artifact to assist with debugging
5555 path : /home/circleci/.npm/_logs/*.log
56- - persist_to_workspace :
57- root : ~/react-forms
58- paths :
59- - " *"
6056 deploy :
6157 working_directory : ~/react-forms
6258 docker :
6359 - image : circleci/node:10
6460 steps :
6561 - attach_workspace :
6662 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
7563 - run :
7664 name : Deploy demo
7765 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
7967 - save_cache :
8068 key : dependency-cache-{{ checksum "yarn.lock" }}
8169 paths :
Original file line number Diff line number Diff line change 99 "dev" : " next \" src/app/\" " ,
1010 "preserve" : " npm run build-public && npm run build-funcs && npm run build-app && npm run copy-deps && npm run install-deps" ,
1111 "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" ,
1313 "deploy" : " NODE_ENV=production firebase deploy" ,
1414 "clean" : " rimraf \" dist/functions/**\" && rimraf \" dist/public\" " ,
1515 "build-public" : " cpx \" src/public/**/*.*\" \" dist/public\" -C" ,
You can’t perform that action at this time.
0 commit comments