git: Switch to repository dispatch for updating website

This commit is contained in:
WerWolv
2026-01-08 20:05:41 +01:00
parent 5cd3f5c255
commit 58c714b350

View File

@@ -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