Skip to content

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

fix(embeddings): github action project linking

Greg Richardsoncd9019918a40
diff --git a/.github/workflows/search.yml b/.github/workflows/search.yml
index bf4ec37bbcc..1fff8431e62 100644
--- a/.github/workflows/search.yml
+++ b/.github/workflows/search.yml
@@ -8,6 +8,7 @@ on:
paths:
- 'apps/docs/**'
- 'spec/**'
+ - '.github/workflows/search.yml'
workflow_dispatch:
jobs:
@@ -33,8 +34,11 @@ jobs:
- name: Download dependencies
run: npm ci
+ - name: Link Supabase project
+ run: npx supabase link --project-ref $PROJECT_ID
+
- name: Run migrations
- run: npx supabase db push --project-ref $PROJECT_ID
+ run: npx supabase db push
- name: Refresh embeddings
working-directory: ./apps/docs