Skip to content

Commit 9fb97b5

Browse files
committed
add docs sync
1 parent 9a433fb commit 9fb97b5

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/sync-docs.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Sync Docs
2+
3+
on:
4+
push:
5+
branches: [main]
6+
paths:
7+
- 'docs/**'
8+
9+
jobs:
10+
notify-docs-repo:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: peter-evans/repository-dispatch@v3
14+
with:
15+
token: ${{ secrets.DOCS_TOKEN }}
16+
repository: cortexphp/docs
17+
event-type: docs-updated

0 commit comments

Comments
 (0)