From 233dd36930e5710290f80dd170f796b3c8349eac Mon Sep 17 00:00:00 2001 From: scb261 <65343233+scb261@users.noreply.github.com> Date: Mon, 3 Mar 2025 15:29:40 +0200 Subject: [PATCH] Update website when a new preview is released --- .github/workflows/build.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fa3dd00..12ef0f5 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.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"}'