mirror of
https://github.com/idanoo/autobrr
synced 2025-07-22 16:29:12 +00:00
feat(ci): add workflow to trigger docs update on release (#1826)
This commit is contained in:
parent
4cc0f9cc83
commit
7888ea3ae5
1 changed files with 18 additions and 0 deletions
18
.github/workflows/trigger_docs_update.yml
vendored
Normal file
18
.github/workflows/trigger_docs_update.yml
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
# .github/workflows/trigger_docs_update.yml
|
||||
name: Trigger Docs Update
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [published]
|
||||
|
||||
jobs:
|
||||
trigger_docs_update:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Trigger docs workflow
|
||||
run: |
|
||||
curl -X POST \
|
||||
-H "Authorization: token ${{ secrets.DOCS_TOKEN }}" \
|
||||
-H "Accept: application/vnd.github.v3+json" \
|
||||
https://api.github.com/repos/autobrr/autobrr.com/dispatches \
|
||||
-d '{"event_type": "update-release-notes"}'
|
Loading…
Add table
Add a link
Reference in a new issue