{"id":25208076,"url":"https://github.com/comfy-org/publish-node-action","last_synced_at":"2025-04-05T04:19:17.711Z","repository":{"id":238774468,"uuid":"797441621","full_name":"Comfy-Org/publish-node-action","owner":"Comfy-Org","description":"A Github Action for Publishing Custom Node Version to the Registry","archived":false,"fork":false,"pushed_at":"2024-12-20T21:12:28.000Z","size":247,"stargazers_count":3,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-10T12:18:28.421Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://registry.comfy.org","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Comfy-Org.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-07T20:54:41.000Z","updated_at":"2024-12-22T09:55:04.000Z","dependencies_parsed_at":"2024-12-20T20:32:55.891Z","dependency_job_id":null,"html_url":"https://github.com/Comfy-Org/publish-node-action","commit_stats":null,"previous_names":["robinjhuang/publish-node-action","comfy-org/publish-node-action"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Comfy-Org%2Fpublish-node-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Comfy-Org%2Fpublish-node-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Comfy-Org%2Fpublish-node-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Comfy-Org%2Fpublish-node-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Comfy-Org","download_url":"https://codeload.github.com/Comfy-Org/publish-node-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247285551,"owners_count":20913837,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-10T12:18:37.952Z","updated_at":"2025-04-05T04:19:17.696Z","avatar_url":"https://github.com/Comfy-Org.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# publish-node-action\n\nUses [comfy-cli](https://github.com/Comfy-Org/comfy-cli) to publish the current version of your custom node to the [registry](https://comfyregistry.org). The goal is to create an easy way for developers to publish updates to their custom node to the registry.\n\n## Getting Started\n\n### Publish Node\n\nPlease finish the guide [here](https://www.comfydocs.org/registry/overview#publishing-to-the-registry) for publishing to the registry befre continuing.\n\nMake sure you have:\n\n- [ ] Created a publisher\n- [ ] Created a personal access token\n- [ ] Generated a pyproject.toml file for your custom node\n\n### Add Personal Access Token to Secrets\n\nAdd the personal access token you created on the registry website to your Github Secrets.\n\nGo to Settings -\u003e Secrets and Variables -\u003e Actions -\u003e New repository secret.\n\nCreate a secret called `REGISTRY_ACCESS_TOKEN`.\n\n![Repository Secrets](images/repo_secrets.png)\n\n![Add Secret](images/add_secret.png)\n\n### Publish when pyproject.toml changes\n\nThe easiest way to publish custom node versions is to use this Github Actions workflow that runs everytime `pyproject.toml` changes. When you want to publish a new version, simply go and update the version field to the next version.\n\n```yaml\nname: Publish to Comfy registry\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n    paths:\n      - \"pyproject.toml\"\n\njobs:\n  publish-node:\n    name: Publish Custom Node to registry\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v4\n      - name: Publish Custom Node\n        uses: Comfy-Org/publish-node-action@main\n        with:\n          personal_access_token: ${{ secrets.REGISTRY_ACCESS_TOKEN }} ## Add your own personal access token to your Github Repository secrets and reference it here.\n```\n\n### Notes\n\n`comfy-cli` will publish the version written in `pyproject.toml`.\n\nMake sure you update this before running the Github Action.\n\n```toml\n\n[project]\nversion = \"1.0.1\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomfy-org%2Fpublish-node-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcomfy-org%2Fpublish-node-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomfy-org%2Fpublish-node-action/lists"}