From d91b1e77aa4671ecaf5bfcb17bbfc16a09430874 Mon Sep 17 00:00:00 2001 From: akierson Date: Sun, 20 Oct 2024 14:09:09 -0600 Subject: [PATCH] Update pyproject --- .github/workflows/publish_actions.yml | 24 ++++++++++++++++++++++++ pyproject.toml | 14 ++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 .github/workflows/publish_actions.yml create mode 100644 pyproject.toml diff --git a/.github/workflows/publish_actions.yml b/.github/workflows/publish_actions.yml new file mode 100644 index 0000000..a8719ae --- /dev/null +++ b/.github/workflows/publish_actions.yml @@ -0,0 +1,24 @@ +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 + # if this is a forked repository. Skipping the workflow. + if: github.event.repository.fork == false + 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 }} diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..4449206 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,14 @@ +[project] +name = "comfyui-colornodes" +description = "Misc Text Nodes for Comfy UI" +version = "0.0.1" +license = { file = "LICENSE.txt" } +dependencies = [] + +[project.urls] +Repository = "https://github.com/akierson/ComfyUI-textnodes" +# Used by Comfy Registry https://comfyregistry.org + +[tool.comfy] +PublisherId = "akierson" +DisplayName = "ComfyUI-TextSNodes" \ No newline at end of file