Merge pull request #75 from lyndon025/cms/article/tiny-bookshop #21
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: Update RAG Vector Index | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - master | |
| - dev | |
| paths: | |
| - 'src/content/article/**' # Only run when articles change | |
| workflow_dispatch: # Allow manual trigger | |
| jobs: | |
| update-vectors: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Wait for Deployment (5 minutes) | |
| run: sleep 300 | |
| - name: Trigger Vector Seed | |
| run: | | |
| echo "Triggering vector database update..." | |
| curl -X GET https://playtested.net/api/seed |