mirror of
https://github.com/alexgo-io/stacks.js.git
synced 2026-01-12 17:52:41 +08:00
ci: add dispatch publish trigger
This commit is contained in:
2
.github/workflows/publish.yml
vendored
2
.github/workflows/publish.yml
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user