Skip to content

Add Github Action for Publishing to Comfy Registry #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

haohaocreates
Copy link

@haohaocreates haohaocreates commented May 22, 2024

This PR adds a Github Action (publish-node-action) that will run whenever the pyproject.toml file changes. The pyproject.toml defines the custom node version you want to publish (added in another PR).

Action Required:

  • Make sure the trigger branch (master or main) in publish.yaml matches the branch you want to use as the publishing branch. It will only trigger when the pyproject.toml gets updated on that branch.
  • Create an api key on the Registry for publishing from Github. Instructions.
  • Add it to your Github Repository Secrets as REGISTRY_ACCESS_TOKEN.

More info on the registry.
Please message me on Discord if you have any questions!

@YMC-GitHub
Copy link
Owner

hey man , comfy registry is good!
i am go to rewrite this repo for some reason. then i will add a github workflow like ComfyUI-WD14-Tagger's publish_action.yml .

i have some other comfyui nodes ( in other private/public repo) and i will publish to comfy registry too.

@haohaocreates
Copy link
Author

haohaocreates commented Jul 14, 2024 via email

@YMC-GitHub
Copy link
Owner

hey, man . do i need to contact [email protected] to have this transferred to me ?

┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ 💻 Environment                       ┃ Value                                 ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ Python Version                       │ 3.10.17                               │
│ Python Executable                    │ /opt/hostedtoolcache/Python/3.10.17/… │
│ Virtualenv Path                      │ Not Used                              │
│ Conda Env                            │ Not Used                              │
│ Config Path                          │ /home/runner/.config/comfy-cli/confi… │
│ Default ComfyUI workspace            │ No default ComfyUI workspace          │
│ Default ComfyUI launch extra options │ None                                  │
│ Recent ComfyUI workspace             │ No recent run                         │
│ Tracking Analytics                   │ Disabled                              │
│ Background ComfyUI                   │ No                                    │
│ Comfy Server Running                 │ No                                    │
│ Current selected workspace           │ → /home/runner/comfy/ComfyUI          │
└──────────────────────────────────────┴───────────────────────────────────────┘
warn: The recent workspace None is not a valid ComfyUI path.
Validating node configuration...
Running security checks...
✓ All validation checks passed successfully
Publishing node version...
{'personal_access_token': '***', 'node': {'id': 'ymc-node-suite-comfyui', 'description': 'custom nodes for comfyui,like AI painting in comfyui', 'icon': '', 'name': 'ymc-node-suite-comfyui', 'license': '{"file": "LICENSE"}', 'repository': 'https://github.com/ymc-github/ymc-node-suite-comfyui'}, 'node_version': {'version': '3.0.0', 'dependencies': []}}
{'Failed to publish node version: 409 {"message":"duplicate: This node exists in
the Registry, but is not claimed by any specific account. Please contact 
[email protected] to have this transferred to you."}\n'}
Error: Process completed with exit code 1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants