site: update Makefile to work without global gcloud project setting

pull/4334/head
Conduitry 5 years ago
parent 43f19d93a9
commit ab18f5bb9a

@ -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

Loading…
Cancel
Save