From 24a26f5f0d18def19a41d32fa9a4eff1477f0211 Mon Sep 17 00:00:00 2001 From: snomiao Date: Fri, 4 Apr 2025 16:57:18 +0000 Subject: [PATCH 1/2] chore(publish): Add Github Action for Publishing to Comfy Registry --- .github/workflows/publish.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 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..da8adb8 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,28 @@ +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 == 'mobilehacker' }} + steps: + - name: Check out code + uses: actions/checkout@v4 + with: + submodules: true + - name: Publish Custom Node + uses: Comfy-Org/publish-node-action@v1 + with: + ## Add your own personal access token to your Github Repository secrets and reference it here. + personal_access_token: ${{ secrets.REGISTRY_ACCESS_TOKEN }} From 7d7700f8db2d7f459f6648fa1f499dfe0ad726f2 Mon Sep 17 00:00:00 2001 From: ApplePie1337 Date: Fri, 4 Apr 2025 22:38:33 +0300 Subject: [PATCH 2/2] Create pyproject.toml --- pyproject.toml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..6404e55 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,15 @@ +# pyproject.toml +[project] +name = "format-lora-stack" # Unique identifier for your node. Immutable after creation. +description = "Node which translates lora_strack to string with a1111 usage scheme" +version = "0.1" # Custom Node version. Must be semantically versioned. +license = { file = "LICENSE.txt" } +dependencies = [] # Filled in from requirements.txt + +[project.urls] +Repository = "https://github.com/mobilehacker/ComfyUI_format-lora-stack" + +[tool.comfy] +PublisherId = "applepie1337" # TODO (fill in Publisher ID from Comfy Registry Website). +DisplayName = "Format Lora Stack" # Display name for the Custom Node. Can be changed later. +Icon = "" # SVG, PNG, JPG or GIF (MAX. 800x400px)