ci: add dispatch publish trigger

This commit is contained in:
janniks
2022-07-05 09:55:49 -04:00
committed by janniks
parent 4a1a00b98c
commit 28c5058ae6

View File

@@ -17,7 +17,7 @@ jobs:
publish:
runs-on: ubuntu-latest
needs: pre-run
if: "needs.pre-run.outputs.is-not-fork == 'true' && contains(github.event.head_commit.message, 'chore: version packages')"
if: "needs.pre-run.outputs.is-not-fork == 'true' && (github.event_name == 'workflow_dispatch' || contains(github.event.head_commit.message, 'chore: version packages'))"
steps:
- uses: actions/checkout@v3
with: