Skip to content

fix: correct 2 remaining broken link stems (programmes, index) #26

fix: correct 2 remaining broken link stems (programmes, index)

fix: correct 2 remaining broken link stems (programmes, index) #26

Workflow file for this run

name: Build KB Embeddings
on:
push:
branches: [main]
paths:
- "content/**"
workflow_dispatch:
jobs:
build-embeddings:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install dependencies
run: pip install pyyaml markdown jinja2 google-genai numpy google-cloud-storage
- name: Build agent exports
run: python scripts/export/export_all.py
- name: Authenticate to Google Cloud
uses: google-github-actions/auth@v2
with:
workload_identity_provider: ${{ secrets.GCP_WORKLOAD_IDENTITY_PROVIDER }}
service_account: ${{ secrets.GCP_SERVICE_ACCOUNT }}
- name: Build and upload embeddings
env:
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
KB_GCS_BUCKET: zooza-kb-embeddings
run: python scripts/deploy/build_embeddings.py