From 18b65f47a4856c33ce465e03c8f8b39ab92a213d Mon Sep 17 00:00:00 2001 From: Conduitry Date: Mon, 27 Jan 2020 14:38:25 -0500 Subject: [PATCH] site: update Makefile to work without global gcloud project setting --- site/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site/Makefile b/site/Makefile index 4c432dc6c9..a16b0a117a 100644 --- a/site/Makefile +++ b/site/Makefile @@ -14,9 +14,9 @@ sapper: docker: @echo "\n~> building docker image" - @gcloud builds submit -t $(IMAGE) + @gcloud builds submit --project $(PROJECT) -t $(IMAGE) deploy: sapper docker @echo "\n~> deploying $(SERVICE) to Cloud Run servers" - @gcloud beta run deploy $(SERVICE) --allow-unauthenticated --platform managed --region us-central1 --image $(IMAGE) --memory=512Mi + @gcloud beta run deploy $(SERVICE) --project $(PROJECT) --allow-unauthenticated --platform managed --region us-central1 --image $(IMAGE) --memory=512Mi