diff options
author | Ian Lewis <ianmlewis@gmail.com> | 2019-04-03 03:37:27 -0400 |
---|---|---|
committer | Ian Lewis <ianlewis@google.com> | 2019-04-04 08:56:40 +0900 |
commit | 0fa5356531014baa82606c15fcc401cd5012ef84 (patch) | |
tree | 864472bf6698f55b73bcbf95f980e799d4b00f2a | |
parent | 51bfff9f74e3e25a05d070bae19b89aef2187643 (diff) |
Only deploy if in the gvisor-website project
-rw-r--r-- | cloudbuild.yaml | 3 |
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' |