Add unit tests for article generation functions #348
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "generate_embeddings" | |
on: # run on main branch changes | |
push: | |
branches: | |
- main | |
jobs: | |
generate: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: supabase/[email protected] # Find the latest version in the Marketplace | |
with: | |
supabase-url: "https://scqhjglwdranqzljqesd.supabase.co" | |
supabase-service-role-key: ${{ secrets.SUPABASE_SERVICE_ROLE_KEY }} | |
openai-key: ${{ secrets.OPENAI_API_KEY }} | |
docs-root-path: "public/docs" # the path to the root of your md(x) files |