git: Fix dispatch never running

This commit is contained in:
WerWolv
2026-01-08 20:29:20 +01:00
parent 58c714b350
commit 9261fd7190

View File

@@ -133,7 +133,7 @@ jobs:
runs-on: ubuntu-24.04 runs-on: ubuntu-24.04
steps: steps:
- name: ✉️ Dispatch Landing page update - name: ✉️ Dispatch Landing page update
if: ${{ env.DISPATCH_TOKEN != '' && (github.event_name == 'repository_dispatch' ) }} if: ${{ env.WEBSITE_DISPATCH_TOKEN != '' }}
uses: peter-evans/repository-dispatch@v4 uses: peter-evans/repository-dispatch@v4
with: with:
token: ${{ secrets.WEBSITE_DISPATCH_TOKEN }} token: ${{ secrets.WEBSITE_DISPATCH_TOKEN }}