From 285bc4bc7466f02053e85bb5073740de03ce5602 Mon Sep 17 00:00:00 2001 From: xmarre Date: Tue, 17 Mar 2026 06:13:22 +0100 Subject: [PATCH] Add Comfy registry metadata and workflow --- .github/workflows/publish.yml | 29 +++++++++++++++++++++++++++++ README.md | 6 +++--- pyproject.toml | 14 ++++++++++---- 3 files changed, 42 insertions(+), 7 deletions(-) create mode 100644 .github/workflows/publish.yml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..999b814 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,29 @@ +name: Publish to Comfy registry + +on: + workflow_dispatch: + push: + branches: + - main + - master + paths: + - "pyproject.toml" + +permissions: + issues: write + +jobs: + publish-node: + name: Publish Custom Node to registry + runs-on: ubuntu-latest + if: ${{ github.repository_owner == 'xmarre' }} + steps: + - name: Check out code + uses: actions/checkout@v4 + with: + submodules: true + + - name: Publish Custom Node + uses: Comfy-Org/publish-node-action@v1 + with: + personal_access_token: ${{ secrets.REGISTRY_ACCESS_TOKEN }} diff --git a/README.md b/README.md index 69d6ce6..c604e5f 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# ComfyUI Spectrum SDXL Native +# ComfyUI Spectrum SDXL Proper Native ComfyUI custom node that ports **Spectrum** to the **SDXL / U-Net** execution path. @@ -41,7 +41,7 @@ This repo instead patches the native ComfyUI `UNetModel._forward(...)` path and Clone or copy this repository into your ComfyUI `custom_nodes` directory: ```bash -git clone ComfyUI/custom_nodes/ComfyUI-Spectrum-SDXL-Native +git clone ComfyUI/custom_nodes/ComfyUI-Spectrum-SDXL-Proper ``` Then restart ComfyUI. @@ -227,7 +227,7 @@ This repo reproduces ComfyUI’s current internal SDXL `UNetModel._forward(...)` ## Repository structure ```text -ComfyUI-Spectrum-SDXL-Native/ +ComfyUI-Spectrum-SDXL-Proper/ ├── __init__.py ├── nodes.py ├── pyproject.toml diff --git a/pyproject.toml b/pyproject.toml index f8c01d9..a3c5b49 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,12 +1,18 @@ [project] -name = "comfyui-spectrum-sdxl-native" +name = "comfyui-spectrum-sdxl-proper" version = "0.1.0" -description = "Native ComfyUI SDXL Spectrum forecaster node" +description = "Native ComfyUI SDXL Spectrum forecaster node with proper internal U-Net integration" readme = "README.md" requires-python = ">=3.10" license = { text = "GPL-3.0-or-later" } +[project.urls] +Repository = "https://github.com/xmarre/ComfyUI-Spectrum-SDXL-Proper" +Documentation = "https://github.com/xmarre/ComfyUI-Spectrum-SDXL-Proper#readme" +"Bug Tracker" = "https://github.com/xmarre/ComfyUI-Spectrum-SDXL-Proper/issues" + [tool.comfy] -PublisherId = "openai" -DisplayName = "ComfyUI Spectrum SDXL Native" +PublisherId = "xmarre" +DisplayName = "ComfyUI-Spectrum-SDXL-Proper" Icon = "" +includes = []