Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions .github/workflows/sync-to-vs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Sync to Vector Store

on:
push:
branches:
- main
workflow_dispatch:

jobs:
sync:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20"

- name: Install mixedbread CLI globally
run: npm install -g @mixedbread/cli

- name: Sync vector store
env:
MXBAI_API_KEY: ${{ secrets.MXBAI_API_KEY }}
run: |
mxbai vs sync "mixedbread-python" \
"**/*.py" \
"**/*.md" \
"**/*.mdx" \
"**/*.txt" \
"**/*.json" \
--yes --strategy fast