File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ jobs:
137137 done
138138
139139 - name : Publish to npm
140- if : github.event_name == 'push'
140+ if : github.event_name == 'push' || github.event_name == 'workflow_dispatch'
141141 env :
142142 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
143143 FORCE_NPM_TOKEN : ${{ inputs.force_npm_token }}
@@ -192,7 +192,7 @@ jobs:
192192 echo "✅ All packages published successfully to '$TAG' channel"
193193
194194 - name : Verify publication
195- if : github.event_name == 'push'
195+ if : github.event_name == 'push' || github.event_name == 'workflow_dispatch'
196196 run : |
197197 echo "Waiting 30 seconds for npm registry propagation..."
198198 sleep 30
@@ -257,7 +257,7 @@ jobs:
257257 name : Create GitHub Release
258258 runs-on : ubuntu-latest
259259 needs : [semantic-release, publish-npm]
260- if : needs.semantic-release.outputs.new-release-published == 'true' && github.event_name == 'push'
260+ if : needs.semantic-release.outputs.new-release-published == 'true' && ( github.event_name == 'push' || github.event_name == 'workflow_dispatch')
261261
262262 steps :
263263 - name : Checkout code
You can’t perform that action at this time.
0 commit comments