Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

chore(embeddings): github action migrations

Greg Richardsondb8201daf335
diff --git a/.github/workflows/search.yml b/.github/workflows/search.yml
index 1f2f1e56b18..bf4ec37bbcc 100644
--- a/.github/workflows/search.yml
+++ b/.github/workflows/search.yml
@@ -4,8 +4,10 @@ on:
push:
branches:
- master
+ - feat/zero-downtime-embeddings-refresh
paths:
- 'apps/docs/**'
+ - 'spec/**'
workflow_dispatch:
jobs:
@@ -29,9 +31,11 @@ jobs:
node-version: 18
- name: Download dependencies
- working-directory: ./apps/docs
run: npm ci
+ - name: Run migrations
+ run: npx supabase db push --project-ref $PROJECT_ID
+
- name: Refresh embeddings
working-directory: ./apps/docs
run: npx run embeddings