Modify publish.yaml for manual workflow execution
Updated workflow to allow manual runs only and disabled push triggers.
This commit is contained in:
@@ -1,22 +1,18 @@
|
||||
name: Publish to Comfy registry
|
||||
|
||||
on:
|
||||
# Manual runs only. Push trigger disabled.
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- "pyproject.toml"
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
issues: write
|
||||
|
||||
jobs:
|
||||
publish-node:
|
||||
name: Publish Custom Node to registry
|
||||
runs-on: ubuntu-latest
|
||||
# Safety: only run publish from your own repo user
|
||||
if: ${{ github.repository_owner == 'TuonoMindCode' }}
|
||||
if: ${{ false }}
|
||||
|
||||
steps:
|
||||
- name: Check out code
|
||||
|
||||
Reference in New Issue
Block a user