From 3a75db48529656a7b4cf86b845dc10f145ee1802 Mon Sep 17 00:00:00 2001 From: TenserTensor Date: Mon, 16 Feb 2026 17:02:11 +0300 Subject: [PATCH] Add publishing configuration and GitHub Actions workflow - Add pyproject.toml with package metadata for Comfy Registry - Add GitHub Action for automatic publishing on version updates --- .github/workflows/publish_action.yml | 20 ++++++++++++++++++++ pyproject.toml | 15 +++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 .github/workflows/publish_action.yml create mode 100644 pyproject.toml diff --git a/.github/workflows/publish_action.yml b/.github/workflows/publish_action.yml new file mode 100644 index 0000000..be0b02f --- /dev/null +++ b/.github/workflows/publish_action.yml @@ -0,0 +1,20 @@ +name: Publish to Comfy registry +on: + workflow_dispatch: + push: + branches: + - main + 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 }} diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..ecd9bc5 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,15 @@ +# pyproject.toml +[project] +name = "ComfyUI-TenserTensor" +description = "A collection of custom nodes for ComfyUI that streamline common workflows. The main goal is to reduce visual clutter by combining frequently used node chains into single, convenient loaders." +version = "1.0.2" +license = { file = "LICENSE" } +dependencies = [] + +[project.urls] +Repository = "https://github.com/tenser-tensor/ComfyUI-TenserTensor" + +[tool.comfy] +PublisherId = "tenser-tensor" +DisplayName = "Tenser Tensor" +Icon = "https://raw.githubusercontent.com/tenser-tensor/ComfyUI-TenserTensor/main/icon.png"