Skip to content

Commit

Permalink
Add deploy.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
felipemfp committed Jun 11, 2020
1 parent 61aaac0 commit c3d065f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Expand Up @@ -3,4 +3,5 @@ __pycache__
tmp/
*.zip
inf-covid19-data/
inf-covid19-similarity-data/
inf-covid19-similarity-data/
app.deploy.yaml
2 changes: 2 additions & 0 deletions app.yaml
Expand Up @@ -3,3 +3,5 @@ env: flex
instance_class: B4
manual_scaling:
instances: 1
env_variables:
GITHUB_TOKEN: $GITHUB_TOKEN
7 changes: 7 additions & 0 deletions deploy.sh
@@ -0,0 +1,7 @@
#!/bin/bash

set -e

cat app.yaml | envsubst > app.deploy.yaml

gcloud app deploy app.deploy.yaml --promote --quiet

0 comments on commit c3d065f

Please sign in to comment.