Skip to content

Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active

🚀 feat: Add GitHub Actions Workflow for Generating Docs Embeddings (#2216)

Danny Avila2259bf8b0329
diff --git a/.github/workflows/generate_embeddings.yml b/.github/workflows/generate_embeddings.yml
new file mode 100644
index 0000000000..c514f9c1d6
--- /dev/null
+++ b/.github/workflows/generate_embeddings.yml
@@ -0,0 +1,20 @@
+name: 'generate_embeddings'
+on:
+ workflow_dispatch:
+ push:
+ branches:
+ - main
+ paths:
+ - 'docs/**'
+
+jobs:
+ generate:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v3
+ - uses: supabase/[email protected]
+ with:
+ supabase-url: ${{ secrets.SUPABASE_URL }}
+ supabase-service-role-key: ${{ secrets.SUPABASE_SERVICE_ROLE_KEY }}
+ openai-key: ${{ secrets.OPENAI_DOC_EMBEDDINGS_KEY }}
+ docs-root-path: 'docs'
\ No newline at end of file