Allow for mcp registry action to run manually
This commit is contained in:
parent
c69800fe2b
commit
d6cefb1ebc
1 changed files with 2 additions and 1 deletions
3
.github/workflows/publish-mcp.yml
vendored
3
.github/workflows/publish-mcp.yml
vendored
|
|
@ -1,5 +1,6 @@
|
||||||
name: Publish to MCP Registry
|
name: Publish to MCP Registry
|
||||||
on:
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
workflow_run:
|
workflow_run:
|
||||||
workflows: ["Build & publish to pypi"]
|
workflows: ["Build & publish to pypi"]
|
||||||
types:
|
types:
|
||||||
|
|
@ -8,7 +9,7 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
publish-mcp:
|
publish-mcp:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }}
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
id-token: write
|
id-token: write
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue