From 7e9730b4775740ff4779a30676a3c201e63771d9 Mon Sep 17 00:00:00 2001 From: haohaocreates Date: Wed, 22 May 2024 17:27:28 -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 5eb594dd325a7e53a9e5e9796d9ea99eef9c9fa0 Mon Sep 17 00:00:00 2001 From: haohaocreates Date: Wed, 22 May 2024 17:27:31 -0400 Subject: [PATCH 2/3] chore(pyproject): Add pyproject.toml for Custom Node Registry --- 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..1981e2c --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,15 @@ +[project] +name = "fexli-util-node-comfyui" +description = "Nodes:FEImagePadForOutpaint, FEColorOut, FEColor2Image, FERandomizedColor2Image" +version = "1.0.0" +license = "LICENSE" +dependencies = ["pycryptodome", "sseclient-py"] + +[project.urls] +Repository = "https://github.com/fexli/fexli-util-node-comfyui" +# Used by Comfy Registry https://comfyregistry.org + +[tool.comfy] +PublisherId = "" +DisplayName = "fexli-util-node-comfyui" +Icon = "" From 4021165750526e215f4a3b35dde067e189116da2 Mon Sep 17 00:00:00 2001 From: FexliR <62332061+fexli@users.noreply.github.com> Date: Fri, 23 May 2025 19:56:12 +0800 Subject: [PATCH 3/3] Update publish.yml --- .github/workflows/publish.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 828f300..158bf43 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -4,18 +4,25 @@ on: 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 == 'fexli' }} steps: - name: Check out code uses: actions/checkout@v4 + with: + submodules: true - name: Publish Custom Node - uses: Comfy-Org/publish-node-action@main + 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 }} \ No newline at end of file + personal_access_token: ${{ secrets.REGISTRY_ACCESS_TOKEN }}