Add GitHub Actions workflow for registry publishing

Automatically publishes to Comfy registry when pyproject.toml
is updated on master. Can also be triggered manually.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-22 14:32:25 +01:00
parent 71fdcbdfd6
commit 7c8d402311

20
.github/workflows/publish.yml vendored Normal file
View File

@@ -0,0 +1,20 @@
name: Publish to Comfy registry
on:
workflow_dispatch:
push:
branches:
- master
paths:
- "pyproject.toml"
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 }}