feature(discovery): add Trieve search and AI chat to the docs (old Mintlify functionality)

This commit is contained in:
skeptrune
2025-03-06 15:03:44 -08:00
committed by Nick K
parent e969dfe0b9
commit 90a14c4911
5 changed files with 133 additions and 5 deletions
+29
View File
@@ -0,0 +1,29 @@
name: Update Trieve
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true
on:
push:
branches:
- main
jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Trieve Vitepress Adapter
run: npm install -g trieve-vitepress-adapter
- name: Update Trieve Chunks
env:
TRIEVE_API_HOST: ${{ secrets.TRIEVE_API_HOST }}
TRIEVE_API_KEY: ${{ secrets.TRIEVE_API_KEY }}
TRIEVE_ORGANIZATION_ID: ${{ secrets.TRIEVE_ORGANIZATION_ID }}
TRIEVE_DATASET_TRACKING_ID: ${{ secrets.TRIEVE_DATASET_TRACKING_ID }}
NODE_OPTIONS: --max-old-space-size=4096
run: trieve-vitepress-adapter --path . -s https://coolify.io/docs/openapi.json -r https://coolify.io -a docs/api-reference/api/operations