Skip to content

Commit e11f964

Browse files
committed
feat: add repository dispatch to trigger watchbeats sync
1 parent 31b90b4 commit e11f964

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Dispatch Update to Watchbeats
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- master
8+
9+
jobs:
10+
dispatch:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Dispatch update event
14+
uses: peter-evans/repository-dispatch@v4
15+
with:
16+
token: ${{ secrets.WATCHBEATS_DISPATCH_TOKEN }}
17+
repository: xinnjie/watchbeats
18+
event-type: submodule_update

0 commit comments

Comments
 (0)