From 0fa5356531014baa82606c15fcc401cd5012ef84 Mon Sep 17 00:00:00 2001 From: Ian Lewis Date: Wed, 3 Apr 2019 03:37:27 -0400 Subject: [PATCH] Only deploy if in the gvisor-website project --- cloudbuild.yaml | 3 +-- 1 file changed, 1 insertion(+), 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'