The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
chore(embeddings): github action poc
Greg Richardson030ef17bf18a
diff --git a/.github/workflows/og_images.yml b/.github/workflows/og_images.ymlindex c3cc6568e73..afec7f34149 100644--- a/.github/workflows/og_images.yml+++ b/.github/workflows/og_images.yml@@ -14,7 +14,7 @@ jobs:env:SUPABASE_ACCESS_TOKEN: ${{ secrets.SUPABASE_ACCESS_TOKEN }}- PROJECT_ID: ${{ secrets.PROJECT_ID }}+ PROJECT_ID: ${{ secrets.OG_IMAGE_SUPABASE_PROJECT_ID }}steps:- name: Check out repodiff --git a/.github/workflows/search.yml b/.github/workflows/search.ymlnew file mode 100644index 00000000000..1f2f1e56b18--- /dev/null+++ b/.github/workflows/search.yml@@ -0,0 +1,37 @@+name: Generate Embeddings for Search++on:+ push:+ branches:+ - master+ paths:+ - 'apps/docs/**'+ workflow_dispatch:++jobs:+ deploy:+ runs-on: ubuntu-latest++ env:+ OPENAI_KEY: ${{ secrets.OPENAI_KEY }}+ SUPABASE_ACCESS_TOKEN: ${{ secrets.SUPABASE_ACCESS_TOKEN }}+ PROJECT_ID: ${{ secrets.SEARCH_SUPABASE_PROJECT_ID }}+ NEXT_PUBLIC_SUPABASE_URL: ${{ secrets.SEARCH_SUPABASE_URL }}+ SUPABASE_SERVICE_ROLE_KEY: ${{ secrets.SEARCH_SUPABASE_SERVICE_ROLE_KEY }}++ steps:+ - name: Check out repo+ uses: actions/checkout@v3++ - name: Setup node+ uses: actions/setup-node@v3+ with:+ node-version: 18++ - name: Download dependencies+ working-directory: ./apps/docs+ run: npm ci++ - name: Refresh embeddings+ working-directory: ./apps/docs+ run: npx run embeddings