Skip to content
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

Add Github Action for Publishing to Comfy Registry #1

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

Conversation

haohaocreates
Copy link
Contributor

@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!

@haohaocreates
Copy link
Contributor Author

hey @wolfden ! Thanks for such a quick review! Just a few last steps, to get onto the registry you just need to create a publisher id (ideally same as your github name).

Steps:

  1. Go to the registry. [https://www.comfyregistry.org/]
  2. Login and create a publisher id.
  3. You can update the toml file with your publisher ID, and publish your node either through the CLI or with GH Actions!

Also dropping a 1m video on how to onboard too: https://youtu.be/WhOZZOgBggU

Thanks for getting back to us so quick though and lmk if you have any questions!!

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.

1 participant