Skip to content

Commit f98194f

Browse files
Karan Popatclaude
andauthored
Trigger Algolia search records update on docs deploy (#138)
Add repository_dispatch to flowpipe.io to update search records only when docs change, instead of on every site deploy. Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent da7041f commit f98194f

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,13 @@ jobs:
1212
- name: Trigger Vercel deploy
1313
run: |
1414
curl -X POST ${{ secrets.VERCEL_DEPLOY_LINK_PROD }}
15+
16+
update-search-records:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: Trigger search records update in flowpipe.io
20+
uses: peter-evans/repository-dispatch@v2
21+
with:
22+
token: ${{ secrets.G_PERSONAL_ACCESS_TOKEN }}
23+
repository: turbot/flowpipe.io
24+
event-type: update-search-records

0 commit comments

Comments
 (0)