mihon-preview/.github/workflows/post_release.yml
2025-03-09 13:42:23 +02:00

21 lines
508 B
YAML

name: Post release
on:
release:
types: [published]
jobs:
post_release:
runs-on: 'ubuntu-24.04'
steps:
- name: Update website
run: |
curl --fail-with-body -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.MIHON_BOT_TOKEN }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/mihonapp/website/dispatches \
-d '{"event_type":"app_release"}'