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