2021-05-18 20:25:41 +03:00
|
|
|
[build]
|
|
|
|
command = """
|
2021-06-01 01:10:45 +03:00
|
|
|
set -e
|
2021-06-22 21:48:09 +03:00
|
|
|
export GOOGLE_APPLICATION_CREDENTIALS="/tmp/gcp.json"
|
|
|
|
echo "$GCLOUD_SERVICE_KEY" > "$GOOGLE_APPLICATION_CREDENTIALS"
|
2021-05-18 20:25:41 +03:00
|
|
|
./bin/generator namespaces
|
|
|
|
mkdir site
|
|
|
|
cp namespaces.yaml site
|
|
|
|
echo '<html><body>See <a href=\"/namespaces.yaml\">namespaces.yaml</a>.</body></html>' > site/index.html
|
|
|
|
"""
|
|
|
|
environment = { PYTHON_VERSION = "3.8" }
|
|
|
|
publish = "site"
|