From 1313ff7a16c46ed1e340918c1cff03a9d3e5edff Mon Sep 17 00:00:00 2001 From: scb261 <65343233+scb261@users.noreply.github.com> Date: Mon, 3 Mar 2025 16:49:39 +0200 Subject: [PATCH] Update website when a new version is released (#1818) --- .github/workflows/build_push.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/build_push.yml b/.github/workflows/build_push.yml index c054ff923..7e0a8d3c7 100644 --- a/.github/workflows/build_push.yml +++ b/.github/workflows/build_push.yml @@ -122,3 +122,13 @@ jobs: prerelease: false env: 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"}'