diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..2c6f490 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,22 @@ +name: Publish to Comfy registry +on: + workflow_dispatch: + push: + branches: + - main + - master + 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.COMFY_REGISTRY_KEY }} diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..25c51ba --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,15 @@ +[project] +name = "comfyui-brushnet" +description = "These are custom nodes for ComfyUI native implementation of BrushNet (inpaint), PowerPaint (inpaint, object removal) and HiDiffusion (higher resolution for SD15 and SDXL)" +version = "1.0.0" +license = "Apache-2.0" +dependencies = ["diffusers>=0.27.0", "accelerate>=0.29.0", "peft>=0.7.0"] + +[project.urls] +Repository = "https://github.com/nullquant/ComfyUI-BrushNet" +# Used by Comfy Registry https://comfyregistry.org + +[tool.comfy] +PublisherId = "nullquant" +DisplayName = "ComfyUI-BrushNet" +Icon = ""