Skip to content

Commit f03fa41

Browse files
committed
feat: add a workflow to trigger an Algolia index update
1 parent 53ce62a commit f03fa41

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Trigger Algolia Index Update
2+
run-name: Trigger Algolia Index Update by @${{ github.actor }}
3+
4+
on:
5+
push:
6+
branches:
7+
- main
8+
paths:
9+
- '**.mdx'
10+
- 'manifest.json'
11+
12+
jobs:
13+
trigger:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Trigger smallstep.com workflow
17+
uses: peter-evans/repository-dispatch@ff45666b9427631e3450c54a1bcbee4d9ff4d7c0 # v3.0.0
18+
with:
19+
token: ${{ secrets.ALGOLIA_INDEX_TRIGGER_TOKEN }}
20+
repository: smallstep/smallstep.com
21+
event-type: docs-updated

0 commit comments

Comments
 (0)