mirror of
https://github.com/gotson/komga.git
synced 2025-12-06 16:42:24 +01:00
ci: dispatch events when openapi.json changes
This commit is contained in:
parent
f2280b8d13
commit
fb9459bc83
1 changed files with 18 additions and 0 deletions
18
.github/workflows/dispatch.yml
vendored
Normal file
18
.github/workflows/dispatch.yml
vendored
Normal 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
|
||||||
Loading…
Reference in a new issue