From 89e2ce4c44e5488a1a79896292f9418cc762b3aa Mon Sep 17 00:00:00 2001 From: haohaocreates Date: Wed, 22 May 2024 19:18:31 -0400 Subject: [PATCH 1/3] chore(publish): Add Github Action for Publishing to Comfy Registry --- .github/workflows/publish.yml | 21 +++++++++++++++++++++ 1 file changed, 21 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..828f300 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,21 @@ +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: + ## Add your own personal access token to your Github Repository secrets and reference it here. + personal_access_token: ${{ secrets.REGISTRY_ACCESS_TOKEN }} \ No newline at end of file From 156ae752e16d1dba709be28d01a9265d5052eac3 Mon Sep 17 00:00:00 2001 From: haohaocreates Date: Wed, 22 May 2024 19:18:35 -0400 Subject: [PATCH 2/3] chore(pyproject): Add pyproject.toml for Custom Node Registry --- pyproject.toml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..684a495 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,14 @@ +[project] +name = "comfyui_jankhidiffusion" +description = "Janky experimental attempt at implementing [a/HiDiffusion](https://github.com/megvii-research/HiDiffusion) for ComfyUI." +version = "1.0.0" +license = "LICENSE" + +[project.urls] +Repository = "https://github.com/blepping/comfyui_jankhidiffusion" +# Used by Comfy Registry https://comfyregistry.org + +[tool.comfy] +PublisherId = "" +DisplayName = "comfyui_jankhidiffusion" +Icon = "" From 028a8310315f5b326125328f1445b781a476c14e Mon Sep 17 00:00:00 2001 From: blepping Date: Thu, 15 Aug 2024 02:54:51 -0600 Subject: [PATCH 3/3] Set up Comfy Registry publishing --- .github/workflows/publish.yml | 3 +-- pyproject.toml | 8 ++++---- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 828f300..380ba9d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -17,5 +17,4 @@ jobs: - 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 }} \ No newline at end of file + personal_access_token: ${{ secrets.COMFYORG_REGISTRY_API_KEY }} diff --git a/pyproject.toml b/pyproject.toml index 684a495..f5f63a2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,14 +1,14 @@ [project] name = "comfyui_jankhidiffusion" -description = "Janky experimental attempt at implementing [a/HiDiffusion](https://github.com/megvii-research/HiDiffusion) for ComfyUI." -version = "1.0.0" -license = "LICENSE" +description = "Janky implementation of HiDiffusion for ComfyUI. Enables generating at resolutions higher than what the model was trained for. Only supports SD 1.x (maybe 2.x) and SDXL." +version = "0.8.0" +license = { file = "LICENSE" } [project.urls] Repository = "https://github.com/blepping/comfyui_jankhidiffusion" # Used by Comfy Registry https://comfyregistry.org [tool.comfy] -PublisherId = "" +PublisherId = "blepping" DisplayName = "comfyui_jankhidiffusion" Icon = ""