mirror of
https://github.com/mihonapp/mihon-preview.git
synced 2025-03-13 10:50:38 +01:00
Create post release workflow
This commit is contained in:
parent
14ad4982db
commit
211853bfec
20
.github/workflows/post_release.yml
vendored
Normal file
20
.github/workflows/post_release.yml
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
name: Post release
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [published]
|
||||
|
||||
jobs:
|
||||
post_release:
|
||||
runs-on: 'ubuntu-24.04'
|
||||
|
||||
steps:
|
||||
- name: Update website
|
||||
run: |
|
||||
curl --fail -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"}'
|
Loading…
x
Reference in New Issue
Block a user