Skip to content

ci: add CI action to reindex site into Trieve #37

ci: add CI action to reindex site into Trieve

ci: add CI action to reindex site into Trieve #37

name: "Index Trieve Search Component"
on:
push:
workflow_dispatch:
jobs:
create-search-index:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: "Ingest Trieve Search Index"
shell: bash
env:
ORGANIZATION_ID: ${{ secrets.TRIEVE_ORGANIZATION_ID }}
DATASET_ID: ${{ secrets.TRIEVE_DATASET_ID }}
API_KEY: ${{ secrets.TRIEVE_API_KEY }}
run: |
bash .github/workflows/index.sh
create-search-index-nushell:
runs-on: ubuntu-24.04
steps:
- name: "Install Nushell"
run: |
cargo install nu --locked
- name: "Ingest Trieve Search Index"
shell: nu
env:
ORGANIZATION_ID: ${{ secrets.TRIEVE_ORGANIZATION_ID }}
DATASET_ID: ${{ secrets.TRIEVE_DATASET_ID }}
API_KEY: ${{ secrets.TRIEVE_API_KEY }}
run: |