Create publish_action.yml

This commit is contained in:
FunnyFinger
2025-04-22 12:02:49 +03:00
committed by GitHub
parent 3be5fc7b48
commit 1ae1f512d9
+20
View File
@@ -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