Skip to content

feat: add repository dispatch to trigger watchbeats sync #1

feat: add repository dispatch to trigger watchbeats sync

feat: add repository dispatch to trigger watchbeats sync #1

name: Dispatch Update to Watchbeats
on:
push:
branches:
- main
- master
jobs:
dispatch:
runs-on: ubuntu-latest
steps:
- name: Dispatch update event
uses: peter-evans/repository-dispatch@v4
with:
token: ${{ secrets.WATCHBEATS_DISPATCH_TOKEN }}
repository: xinnjie/watchbeats
event-type: submodule_update