Skip to content

Commit ef06100

Browse files
chore: fix manual workflow
1 parent 58e50b5 commit ef06100

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/publish-to-npm-on-tag.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,14 @@ on:
44
push:
55
tags:
66
- 'chrome-devtools-mcp-v*'
7-
workflow_call:
7+
workflow_dispatch:
88
inputs:
99
npm-publish:
10+
description: 'Whether or not to try to publish to NPM'
1011
default: false
1112
type: boolean
1213
mcp-publish:
14+
description: 'Whether or not to try to publish to MCP registry'
1315
default: true
1416
type: boolean
1517

@@ -20,6 +22,7 @@ permissions:
2022
jobs:
2123
publish-to-npm:
2224
runs-on: ubuntu-latest
25+
if: ${{ github.event_name != 'workflow_dispatch' || inputs.npm-publish }}
2326
steps:
2427
- name: Check out repository
2528
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
@@ -49,6 +52,7 @@ jobs:
4952
5053
publish-to-mcp-registry:
5154
runs-on: ubuntu-latest
55+
if: ${{ github.event_name != 'workflow_dispatch' || inputs.mcp-publish }}
5256
needs: publish-to-npm
5357
steps:
5458
- name: Check out repository

0 commit comments

Comments
 (0)