mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-07-02 12:22:22 +00:00
* chore: harden CI supply chain workflows * chore: address CI hardening review feedback * chore: tighten GitNexus dispatch hardening * chore: use app token for Locize PR automation * chore: use dedicated token for Locize PR automation
23 lines
530 B
YAML
23 lines
530 B
YAML
name: 'generate_embeddings'
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- 'docs/**'
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
generate:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: supabase/embeddings-generator@v0.0.5
|
|
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'
|