Move deploy into the makefile

This commit is contained in:
Brad Nelson
2021-02-12 14:52:37 -08:00
parent f41e19123a
commit 03f82385f6
2 changed files with 4 additions and 4 deletions

View File

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

View File

@ -1,4 +0,0 @@
#! /bin/bash
export CLOUDSDK_PYTHON=/usr/bin/python
gcloud app deploy --project esp32forth *.yaml
gcloud app deploy --project eforth *.yaml