Skip to content

Commit 3fabc17

Browse files
committed
ci: allow manual npm publish
1 parent 400acdf commit 3fabc17

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/release-please.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ on:
55
branches:
66
- main
77
workflow_dispatch:
8+
inputs:
9+
publish:
10+
description: "Publish the current package version to npm"
11+
required: false
12+
default: false
13+
type: boolean
814

915
permissions:
1016
contents: write
@@ -31,7 +37,7 @@ jobs:
3137

3238
publish:
3339
needs: release-please
34-
if: needs.release-please.outputs.release_created == 'true'
40+
if: needs.release-please.outputs.release_created == 'true' || inputs.publish == true
3541
runs-on: ubuntu-latest
3642
steps:
3743
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)