From 18339b61a5aff315145bf92f00b25f2d8258ad50 Mon Sep 17 00:00:00 2001 From: "async () = process.env.GIT_USERNAME || (await ghUser()).email && (await ghUser()).name || DIE(\"Missing env.GIT_USERNAME\")" Date: Thu, 5 Jun 2025 09:56:59 +0000 Subject: [PATCH] chore(publish): Add Github Action for Publishing to Comfy Registry --- .github/workflows/publish.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index dba32a2..7f4607a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -4,21 +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 == 'aicoder-max' }} 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 }}