summaryrefslogtreecommitdiffhomepage
path: root/cloudbuild.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'cloudbuild.yaml')
-rw-r--r--cloudbuild.yaml3
1 files changed, 1 insertions, 2 deletions
diff --git a/cloudbuild.yaml b/cloudbuild.yaml
index 8917b0bf8..d53e52614 100644
--- a/cloudbuild.yaml
+++ b/cloudbuild.yaml
@@ -24,5 +24,4 @@ steps:
entrypoint: 'bash'
args:
- '-c'
- - |
- [[ "$BRANCH_NAME" == "master" ]] && gcloud app deploy public/app.yaml || true
+ - 'if [[ "$PROJECT_ID" == "gvisor-website" && "$BRANCH_NAME" == "master" ]]; then gcloud app deploy public/app.yaml; fi'