autobrr/.github/workflows/trigger_docs_update.yml

18 lines
No EOL
506 B
YAML

# .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"}'