This commit is contained in:
Ben Grant 2021-02-27 00:52:20 +11:00
parent 15d4e2f126
commit edcd4dcaa0
15 changed files with 1195 additions and 82 deletions

View file

@ -0,0 +1,19 @@
#!/usr/bin/env bash
yarn build
cd build
cat > app.yaml << EOF
runtime: nodejs12
handlers:
- url: /(.*\..+)$
static_files: \1
upload: (.*\..+)$
- url: /.*
static_files: index.html
upload: index.html
EOF
gcloud app deploy --project=crabfit