ci: dispatch events when openapi.json changes

This commit is contained in:
Gauthier Roebroeck 2025-02-20 12:12:11 +08:00
parent f2280b8d13
commit fb9459bc83

18
.github/workflows/dispatch.yml vendored Normal file
View file

@ -0,0 +1,18 @@
name: Dispatch events
on:
push:
branches: [ master ]
paths:
- '**/openapi.json'
jobs:
dispatch:
runs-on: ubuntu-latest
steps:
- name: Repository Dispatch
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.REPO_ACCESS_TOKEN }}
repository: gotson/komga-website
event-type: openapi