Update website when a new preview is released

This commit is contained in:
scb261 2025-03-03 15:29:40 +02:00 committed by GitHub
parent 01fc590efc
commit 233dd36930
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -153,3 +153,13 @@ jobs:
with:
keep_latest: 28
delete_tags: true
- name: Update website
run: |
curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.WEBSITE_REPO_TOKEN }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/mihon/website/dispatches \
-d '{"event_type":"new_app_version"}'