Files
rowy/cloudbuild.yaml

38 lines
767 B
YAML
Raw Permalink Normal View History

2020-03-26 16:00:36 +08:00
steps:
2021-09-01 15:59:30 +10:00
- 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
2020-04-27 20:51:08 +08:00
substitutions:
2021-09-01 15:59:30 +10:00
_PROJECT_ID: "project-id" # default value
2020-10-13 23:20:47 +11:00
options:
2021-09-01 15:59:30 +10:00
machineType: "N1_HIGHCPU_8"