Create publish_action.yml
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
name: Publish to Comfy registry
|
||||
on:
|
||||
workflow_dispatch: # Allows manual triggering from the Actions tab
|
||||
push:
|
||||
branches:
|
||||
- main # Change this if your main branch is named differently (e.g., master)
|
||||
paths:
|
||||
- "pyproject.toml" # Trigger only when pyproject.toml changes
|
||||
|
||||
jobs:
|
||||
publish-node:
|
||||
name: Publish Custom Node to registry
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out code
|
||||
uses: actions/checkout@v4
|
||||
- name: Publish Custom Node
|
||||
uses: Comfy-Org/publish-node-action@main
|
||||
with:
|
||||
personal_access_token: ${{ secrets.REGISTRY_ACCESS_TOKEN }} # Uses the secret you created
|
||||
Reference in New Issue
Block a user