From f3b59a7be06ff0776f6d9929dde664d916c5a5ac Mon Sep 17 00:00:00 2001 From: scb261 <65343233+scb261@users.noreply.github.com> Date: Mon, 3 Mar 2025 16:48:53 +0200 Subject: [PATCH] Update website when a new preview is released (#34) --- .github/workflows/build.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fa3dd00..74ddde1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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.MIHON_BOT_TOKEN }}" \ + -H "X-GitHub-Api-Version: 2022-11-28" \ + https://api.github.com/repos/mihon/website/dispatches \ + -d '{"event_type":"app_release"}'