Skip to content

Commit c6901f0

Browse files
author
Ace Nassri
authored
Functions: clarify cloudbuild.yaml (#2946)
cc @labtopia @saturnism
1 parent 5353f3d commit c6901f0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

functions/ci_cd/cloudbuild.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
steps:
1717
- name: 'gcr.io/cloud-builders/mvn'
1818
args: ['clean', 'verify']
19-
dir: 'functions/autodeploy'
19+
dir: 'function/dir/from/repo/root'
2020
- name: 'gcr.io/cloud-builders/gcloud'
21-
args: ['functions', 'deploy', '[YOUR_DEPLOYED_FUNCTION_NAME]', '[YOUR_FUNCTION_TRIGGER]', '--runtime', '[YOUR_RUNTIME]', '--entry-point', '[YOUR_FUNCTION_NAME_IN_CODE]']
22-
dir: 'functions/autodeploy'
21+
args: ['functions', 'deploy', '[YOUR_DEPLOYED_FUNCTION_NAME]', '[YOUR_FUNCTION_TRIGGER]', '--runtime', 'java11', '--entry-point', '[YOUR_FUNCTION_NAME_IN_CODE]']
22+
dir: 'function/dir/from/repo/root'
2323
# [END functions_ci_cd_cloud_build]

0 commit comments

Comments
 (0)