Files
2025-04-22 12:02:49 +03:00

21 lines
652 B
YAML

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