diff --git a/.github/workflows/generate_embeddings.yml b/.github/workflows/generate_embeddings.yml index d71aa3cf8..13cc17ec2 100644 --- a/.github/workflows/generate_embeddings.yml +++ b/.github/workflows/generate_embeddings.yml @@ -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/embeddings-generator@v0.0.5 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' \ No newline at end of file