mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-27 23:37:05 -05:00
git: Switch to repository dispatch for updating website
This commit is contained in:
14
.github/workflows/nightly_release.yml
vendored
14
.github/workflows/nightly_release.yml
vendored
@@ -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
|
||||
Reference in New Issue
Block a user