From f67daded6d984b268fdb1ccdf4999f5765da79e2 Mon Sep 17 00:00:00 2001 From: snomiao Date: Sat, 11 Jan 2025 01:28:10 +0000 Subject: [PATCH 1/2] chore(publish): Add Github Action for Publishing to Comfy Registry --- .github/workflows/publish.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) 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..7cda226 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,25 @@ +name: Publish to Comfy registry +on: + workflow_dispatch: + push: + branches: + - main + - master + paths: + - "pyproject.toml" + +jobs: + publish-node: + name: Publish Custom Node to registry + runs-on: ubuntu-latest + if: ${{ github.repository_owner == 'jammyfu' }} + steps: + - name: Check out code + uses: actions/checkout@v4 + with: + submodules: true + - name: Publish Custom Node + uses: Comfy-Org/publish-node-action@main + with: + ## Add your own personal access token to your Github Repository secrets and reference it here. + personal_access_token: ${{ secrets.REGISTRY_ACCESS_TOKEN }} From d89af4064a1acf9b303d69133b3b1fee3211050f Mon Sep 17 00:00:00 2001 From: fujammy <467918@qq.com> Date: Sun, 19 Jan 2025 14:37:28 +0800 Subject: [PATCH 2/2] add pyproject.toml --- pyproject.toml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..7892dc2 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,16 @@ +[project] +name = "Painting Coder Utils" +description = "A practical collection of nodes for ComfyUI that streamlines image and text processing workflows. Features include image optimized resolution adjustment, text cleaning tools, dynamic image/text combination, and mask preview utilities. Perfect for artists and developers looking to enhance their AI art creation pipeline." +version = "0.2.2" +license = {file = "LICENSE"} +dependencies = ["numpy>=1.21.0", "Pillow>=9.0.0", "torch>=1.7.0", "gradio>=4.0.0"] + +[project.urls] +Repository = "https://github.com/jammyfu/ComfyUI_PaintingCoderUtils" +# Used by Comfy Registry https://comfyregistry.org + +[tool] +[tool.comfy] +PublisherId = "jammyfu" +DisplayName = "Painting Coder Utils" +Icon = ""