Add pyproject.toml and GitHub Actions workflow for publishing
- Created pyproject.toml to define project metadata for comfyui-qbug-batch, including name, description, version, and repository URL. - Added GitHub Actions workflow file for automated publishing processes.
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
name: Publish to Comfy registry
|
||||
on:
|
||||
workflow_dispatch:
|
||||
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 == 'Q-Bug4' }}
|
||||
steps:
|
||||
- name: Check out code
|
||||
uses: actions/checkout@v4
|
||||
- name: Publish Custom Node
|
||||
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 }}
|
||||
@@ -0,0 +1,14 @@
|
||||
[project]
|
||||
name = "comfyui-qbug-batch"
|
||||
description = "ComfyUI Batch Toolkit: Custom nodes that simplify batch operations and improve efficiency. ComfyUI批处理工具集:简化批处理操作,提高效率的自定义节点。"
|
||||
version = "0.1.0"
|
||||
license = {file = "LICENSE"}
|
||||
|
||||
[project.urls]
|
||||
Repository = "https://github.com/Q-Bug4/comfyui-qbug-batch"
|
||||
# Used by Comfy Registry https://comfyregistry.org
|
||||
|
||||
[tool.comfy]
|
||||
PublisherId = "qbug"
|
||||
DisplayName = "comfyui-qbug-batch"
|
||||
Icon = ""
|
||||
Reference in New Issue
Block a user