From 03f82385f630cb9e70bcbf3dbdc2d5caa00046cb Mon Sep 17 00:00:00 2001 From: Brad Nelson Date: Fri, 12 Feb 2021 14:52:37 -0800 Subject: [PATCH] Move deploy into the makefile --- ueforth/Makefile | 4 ++++ ueforth/site/deploy.sh | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) delete mode 100644 ueforth/site/deploy.sh diff --git a/ueforth/Makefile b/ueforth/Makefile index 7991eac..119b004 100644 --- a/ueforth/Makefile +++ b/ueforth/Makefile @@ -279,3 +279,7 @@ $(DEPLOY)/app.yaml: $(ARDUINO)/ESP32forth.zip \ cp -r $(RES)/eforth.ico $(DEPLOY)/static/favicon.ico cp -r site/* $(DEPLOY)/ cp site/.gcloudignore $(DEPLOY) + +deploy: clean all + cd out/deploy && gcloud app deploy -q --project esp32forth *.yaml + cd out/deploy && gcloud app deploy -q --project eforth *.yaml diff --git a/ueforth/site/deploy.sh b/ueforth/site/deploy.sh deleted file mode 100644 index 5ba2321..0000000 --- a/ueforth/site/deploy.sh +++ /dev/null @@ -1,4 +0,0 @@ -#! /bin/bash -export CLOUDSDK_PYTHON=/usr/bin/python -gcloud app deploy --project esp32forth *.yaml -gcloud app deploy --project eforth *.yaml