From 6ae8b30488660b4513dc87185875cc47457c6859 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Sun, 26 Mar 2023 10:26:40 +0200 Subject: [PATCH] git: Allow documentation to be regenerated when PatternLanguage changes were made --- .github/workflows/dispatch.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dispatch.yml b/.github/workflows/dispatch.yml index 2eec85e..5e9112b 100644 --- a/.github/workflows/dispatch.yml +++ b/.github/workflows/dispatch.yml @@ -38,7 +38,7 @@ jobs: files: includes/**/*.pat - name: ✉️ Run Documentation generator - if: ${{ env.DISPATCH_TOKEN != '' && (steps.changed-includes.outputs.any_changed == 'true' || inputs.generate_docs) }} + if: ${{ env.DISPATCH_TOKEN != '' && (steps.changed-includes.outputs.any_changed == 'true' || inputs.generate_docs || github.event_name == 'repository_dispatch' ) }} uses: mvasigh/dispatch-action@main with: token: ${{ secrets.DISPATCH_TOKEN }}