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
This commit is contained in:
TenserTensor
2026-02-16 17:02:11 +03:00
parent 6ca791b5d4
commit 3a75db4852
2 changed files with 35 additions and 0 deletions
+20
View File
@@ -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 }}
+15
View File
@@ -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"