Update website when a new version is released (#1818)

This commit is contained in:
scb261 2025-03-03 16:49:39 +02:00 committed by GitHub
parent 793d7fbe40
commit 1313ff7a16
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -122,3 +122,13 @@ jobs:
prerelease: false prerelease: false
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Update website
run: |
curl -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/mihon/website/dispatches \
-d '{"event_type":"app_release"}'