fix: correct 2 remaining broken link stems (programmes, index) #26
This file contains hidden or 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: 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 |