Skip to content

Commit b2d5b13

Browse files
authored
Create notify_docs.yaml
1 parent 63a21e0 commit b2d5b13

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

.github/workflows/notify_docs.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Notify Docs Update
2+
on:
3+
push:
4+
branches: [main]
5+
paths: [README.md]
6+
7+
jobs:
8+
notify:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Trigger valu-docs sync
12+
run: |
13+
curl -X POST \
14+
-H "Accept: application/vnd.github+json" \
15+
-H "Authorization: Bearer ${{ secrets.DOCS_DISPATCH_TOKEN }}" \
16+
https://api.github.com/repos/Roomful/valu-docs/dispatches \
17+
-d '{"event_type":"update-valu-api-docs"}'

0 commit comments

Comments
 (0)