-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathcloudbuild.yaml
More file actions
28 lines (24 loc) · 786 Bytes
/
cloudbuild.yaml
File metadata and controls
28 lines (24 loc) · 786 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
steps:
# running build for frontend app
- name: "gcr.io/visualexp-a7d2c/firebase:latest"
entrypoint: "bash"
args:
- "-c"
- "source /root/.bashrc && npm install --legacy-peer-deps && npm run build:prod"
# running install for backend
- name: "gcr.io/visualexp-a7d2c/firebase:latest"
entrypoint: "bash"
args:
- "-c"
- "source /root/.bashrc && cd functions && npm install --legacy-peer-deps"
# running firebase deploy
- name: "gcr.io/visualexp-a7d2c/firebase:latest"
entrypoint: "bash"
args:
- "-c"
- "source /root/.bashrc && firebase --debug deploy"
options:
logging: CLOUD_LOGGING_ONLY
machineType: E2_HIGHCPU_8
serviceAccount: "projects/visualexp-a7d2c/serviceAccounts/114329020973802572254"
timeout: 2000s