generalize cloudfunction build yaml

This commit is contained in:
Shams mosowi
2020-04-23 14:50:42 +08:00
parent 875a581029
commit efd86a2782

View File

@@ -25,5 +25,12 @@ steps:
entrypoint: yarn
args:
- "deploy"
- "functions:exportTable"
- "--project"
- "${_PROJECT_ID}"
- "--only"
- "functions:${_FUNCTIONS_GROUP}"
dir: "cloud_functions/functions"
substitutions:
_PROJECT_ID: "project-id" # default value
_FUNCTIONS_GROUP: "exportTable" # default value