Skip to content

Commit

Permalink
chore: adjust fields workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
danny-avila committed Jul 13, 2024
1 parent 2cdeade commit fa130a8
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/generate_embeddings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,18 @@ jobs:
- name: Install dependencies
run: pnpm install

- name: Check Environment Variables
run: |
echo "SUPABASE_SERVICE_ROLE_KEY=${SUPABASE_SERVICE_ROLE_KEY}"
echo "OPENAI_API_KEY=${OPENAI_API_KEY}"
env:
SUPABASE_SERVICE_ROLE_KEY: ${{ secrets.SUPABASE_SERVICE_ROLE_KEY }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}

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

0 comments on commit fa130a8

Please sign in to comment.