From cdf27899f7c1cdefa3613a5e8446675cd05d58ca Mon Sep 17 00:00:00 2001 From: cluny85 Date: Sat, 17 May 2025 11:59:25 +0200 Subject: [PATCH] feat: Publish to ComfyUI registry changes --- .github/workflows/publish.yml | 5 ++++- pyproject.toml | 15 +++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 pyproject.toml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6a78393..c79f670 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,8 +1,11 @@ name: Publish ComfyUI Scripting Tools on: + workflow_dispatch: push: branches: [ master ] + paths: + - "pyproject.toml" pull_request: branches: [ master ] @@ -31,7 +34,7 @@ jobs: echo "To publish this package, follow the instructions at https://registry.comfy.org/docs/publish-extension/" publish: - name: "📦 Publish Custom Node" + name: "📦 Publish Custom Node to registry" needs: build-and-check runs-on: ubuntu-latest if: startsWith(github.ref, 'refs/tags/') diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..5556d5f --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,15 @@ +[project] +name = "ComfyUI-Scripting-Tools" +description = "" +version = "1.0.0" +license = {file = "LICENSE"} +dependencies = ["# No external dependencies required"] + +[project.urls] +Repository = "https://github.com/cluny85/ComfyUI-Scripting-Tools" +# Used by Comfy Registry https://comfyregistry.org + +[tool.comfy] +PublisherId = "" +DisplayName = "ComfyUI-Scripting-Tools" +Icon = ""