content(blog): add Prisma Next April milestone roadmap post (#7894) #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: Blog Sync Search | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: [main] | |
| paths: [apps/blog/content/blog/**/*.mdx] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: {} | |
| jobs: | |
| sync-search: | |
| name: Blog Sync Search | |
| timeout-minutes: 60 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "20" | |
| cache: "pnpm" | |
| - name: Upload Blog | |
| run: pnpm dlx @mixedbread/cli store sync "${MIXEDBREAD_VECTOR_STORE_ID_BLOG}" "apps/blog/content/blog/**/*.mdx" --yes --strategy fast | |
| env: | |
| MXBAI_API_KEY: ${{ secrets.MIXEDBREAD_API_KEY }} | |
| MIXEDBREAD_VECTOR_STORE_ID_BLOG: blog-search |