Skip to content

Commit

Permalink
feat: add ci for trieve update
Browse files Browse the repository at this point in the history
  • Loading branch information
zobeirhamid authored and skeptrunedev committed Dec 10, 2024
1 parent 47c1ae5 commit 641adbc
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/update-trieve.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
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 Fern Adapter
run: npm install -g trieve-fern-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 }}
run: trieve-fern-adapter --file fern/docs.yml -s https://api.vapi.ai/api-json -r https://docs.vapi.ai -a api-reference

0 comments on commit 641adbc

Please sign in to comment.