Skip to content

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

fix: Add federeated content pre-step for search v2 ingestion (#51116)

Jeremias Menichellibe976bec49da
diff --git a/.github/workflows/docs-search-v2-ingest.yml b/.github/workflows/docs-search-v2-ingest.yml
index 5f54f2babb5..5bb47357a2c 100644
--- a/.github/workflows/docs-search-v2-ingest.yml
+++ b/.github/workflows/docs-search-v2-ingest.yml
@@ -24,6 +24,9 @@ jobs:
env:
SEARCH_V2_SUPABASE_PROJECT_ID: ${{ secrets.SEARCH_V2_SUPABASE_PROJECT_ID }}
SEARCH_V2_SUPABASE_SECRET_KEY: ${{ secrets.SEARCH_V2_SUPABASE_SECRET_KEY }}
+ DOCS_GITHUB_APP_ID: ${{ secrets.SEARCH_GITHUB_APP_ID }}
+ DOCS_GITHUB_APP_INSTALLATION_ID: ${{ secrets.SEARCH_GITHUB_APP_INSTALLATION_ID }}
+ DOCS_GITHUB_APP_PRIVATE_KEY: ${{ secrets.SEARCH_GITHUB_APP_PRIVATE_KEY }}
steps:
- name: Check out repo
@@ -48,6 +51,10 @@ jobs:
- name: Download dependencies
run: pnpm install --frozen-lockfile
+ - name: Fetch federated content
+ working-directory: ./apps/docs
+ run: pnpm run build:federated-content
+
- name: Ingest content
working-directory: ./apps/docs
run: pnpm run search-v2:ingest