git: Allow documentation to be regenerated when PatternLanguage changes were made

This commit is contained in:
WerWolv
2023-03-26 10:26:40 +02:00
parent 125ba38d72
commit 6ae8b30488

View File

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