forked from buildship-ai/rowy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcloudbuild.yaml
More file actions
37 lines (37 loc) · 767 Bytes
/
cloudbuild.yaml
File metadata and controls
37 lines (37 loc) · 767 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
29
30
31
32
33
34
35
36
37
steps:
- name: node:10.17.0
entrypoint: yarn
args: ["install"]
- name: node:10.17.0
entrypoint: yarn
args:
- env
- "${_PROJECT_ID}"
- "${_FIREBASE_WEB_API_KEY}"
- "${_ALGOLIA_APP_ID}"
- "${_ALGOLIA_APP_KEY}"
- name: node:10.17.0
entrypoint: yarn
args: ["build"]
- name: node:10.17.0
entrypoint: yarn
args:
- "target"
- "${_HOSTING_TARGET}"
- --project
- "${_PROJECT_ID}"
- name: node:10.17.0
entrypoint: yarn
args:
- deploy
- --project
- "${_PROJECT_ID}"
- --debug
- --token
- "${_FIREBASE_TOKEN}"
- --only
- hosting
substitutions:
_PROJECT_ID: "project-id" # default value
options:
machineType: "N1_HIGHCPU_8"