From 7a552d72a2deae161bf46800a013184bbce56c9c Mon Sep 17 00:00:00 2001 From: bcasadei Date: Wed, 7 Jan 2026 17:05:16 -0700 Subject: [PATCH] Updated publish_action --- .github/workflows/publish_action.yml | 16 ++++++++++++---- pyproject.toml | 1 + 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish_action.yml b/.github/workflows/publish_action.yml index a19f9a0..f3f2586 100644 --- a/.github/workflows/publish_action.yml +++ b/.github/workflows/publish_action.yml @@ -9,12 +9,20 @@ on: 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@1.0.1 + + - name: Set up Python + uses: actions/setup-python@v5 with: - personal_access_token: ${{ secrets.REGISTRY_ACCESS_TOKEN }} ## Add your own personal access token to your Github Repository secrets and reference it here. + python-version: "3.10" + + - name: Install comfy-cli + run: pip install comfy-cli + + - name: Publish to Comfy Registry + env: + COMFY_API_KEY: ${{ secrets.REGISTRY_ACCESS_TOKEN }} + run: comfy node publish diff --git a/pyproject.toml b/pyproject.toml index fed6e02..50dceac 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -42,6 +42,7 @@ Repository = "https://github.com/bcasadei/ComfyUI-Prompt-Camera-Assistant" includes = [] + [tool.setuptools.package-data] "*" = ["*.*"]