Skip to content

Commit

Permalink
feat: embeddings workflow (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
danny-avila authored Jul 13, 2024
1 parent ff8f6ea commit 732d071
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/generate_embeddings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: 'generate_embeddings'

on:
push:
branches:
- main

jobs:
generate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18'

- name: Install dependencies
run: pnpm install

- name: supabase-embeddings-generator
uses: supabase/[email protected]
with:
supabase-url: 'https://gnoyckdqaktttbfurtcv.supabase.co'
supabase-service-role-key: ${{ secrets.SUPABASE_SERVICE_ROLE_KEY }}
openai-key: ${{ secrets.OPENAI_KEY }}
docs-root-path: './pages'

0 comments on commit 732d071

Please sign in to comment.