From 4b75fc75058bf3a7c87ab265319d8a7866be41ea Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Fri, 8 Sep 2023 16:11:53 -0700 Subject: [PATCH] Try rebuild-fts to fix search, refs #152 Also going back to the 1.0a2 branch --- scripts/build.sh | 1 + scripts/deploy.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/scripts/build.sh b/scripts/build.sh index c69c0e0..2ac6b09 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -51,3 +51,4 @@ python index_tutorials.py # Build search index dogsheep-beta index dogsheep-index.db templates/dogsheep-beta.yml +sqlite-utils rebuild-fts dogsheep-index.db diff --git a/scripts/deploy.sh b/scripts/deploy.sh index 9353677..c65c412 100755 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -5,6 +5,7 @@ gcloud config set run/region us-central1 gcloud config set project datasette-222320 datasette publish cloudrun \ content.db docs-index.db dogsheep-index.db blog.db tils.db \ + --branch 1.0a2 \ --service datasette-io \ --template-dir=templates \ --metadata=metadata.yml \