From 58c714b35044ec4b54239b5f27f08d575afbc95d Mon Sep 17 00:00:00 2001 From: WerWolv Date: Thu, 8 Jan 2026 20:05:41 +0100 Subject: [PATCH] git: Switch to repository dispatch for updating website --- .github/workflows/nightly_release.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/nightly_release.yml b/.github/workflows/nightly_release.yml index f221376c6..df74754e9 100644 --- a/.github/workflows/nightly_release.yml +++ b/.github/workflows/nightly_release.yml @@ -130,8 +130,12 @@ jobs: website_update: name: 🌍 Update ImHex Landing Website needs: nightly-release - uses: WerWolv/ImHexWebsite/.github/workflows/build.yaml@master - permissions: - contents: read - pages: write - id-token: write + runs-on: ubuntu-24.04 + steps: + - name: ✉️ Dispatch Landing page update + if: ${{ env.DISPATCH_TOKEN != '' && (github.event_name == 'repository_dispatch' ) }} + uses: peter-evans/repository-dispatch@v4 + with: + token: ${{ secrets.WEBSITE_DISPATCH_TOKEN }} + repository: WerWolv/ImHexWebsite + event-type: update_page \ No newline at end of file