Skip to content

Commit 538a778

Browse files
authored
feat: add docs sync trigger (#21)
1 parent 4441526 commit 538a778

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/notify-docs.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Notify docs
2+
on:
3+
push:
4+
branches: [main]
5+
jobs:
6+
notify:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: peter-evans/repository-dispatch@v3
10+
with:
11+
token: ${{ secrets.DOCS_DISPATCH_TOKEN }}
12+
repository: OpenAdaptAI/openadapt-maintenance
13+
event-type: repo-updated
14+
client-payload: '{"repo": "${{ github.repository }}", "sha": "${{ github.sha }}"}'

0 commit comments

Comments
 (0)