Skip to content

Commit d9cd892

Browse files
committed
Skiped double firebase deploy build
1 parent 529571c commit d9cd892

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.circleci/config.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,21 +53,29 @@ jobs:
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+
- "*"
5660
deploy:
5761
working_directory: ~/react-forms
5862
docker:
5963
- image: circleci/node:10
6064
steps:
6165
- attach_workspace:
6266
at: ~/react-forms
67+
- run:
68+
name: 'Switch to correct folder'
69+
command: |
70+
cd ~/react-forms/packages/react-renderer-demo
6371
- run:
6472
name: Install Firebase Tools
6573
command: |
6674
npm install --prefix=./firebase-deploy firebase-tools
6775
- run:
6876
name: Deploy demo
6977
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
7179
- save_cache:
7280
key: dependency-cache-{{ checksum "yarn.lock" }}
7381
paths:

0 commit comments

Comments
 (0)