mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Deploy one-dot-zero branch preview
This commit is contained in:
parent
a0dd5fa02f
commit
83adf55b2d
1 changed files with 4 additions and 1 deletions
5
.github/workflows/deploy-latest.yml
vendored
5
.github/workflows/deploy-latest.yml
vendored
|
|
@ -3,7 +3,8 @@ name: Deploy latest.datasette.io
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
- 1.0-dev
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
@ -68,6 +69,8 @@ jobs:
|
||||||
gcloud config set project datasette-222320
|
gcloud config set project datasette-222320
|
||||||
export SUFFIX="-${GITHUB_REF#refs/heads/}"
|
export SUFFIX="-${GITHUB_REF#refs/heads/}"
|
||||||
export SUFFIX=${SUFFIX#-main}
|
export SUFFIX=${SUFFIX#-main}
|
||||||
|
# Replace 1.0 with one-dot-zero in SUFFIX
|
||||||
|
export SUFFIX=${SUFFIX//1.0/one-dot-zero}
|
||||||
datasette publish cloudrun fixtures.db fixtures2.db extra_database.db \
|
datasette publish cloudrun fixtures.db fixtures2.db extra_database.db \
|
||||||
-m fixtures.json \
|
-m fixtures.json \
|
||||||
--plugins-dir=plugins \
|
--plugins-dir=plugins \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue