diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..953c0c5 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,27 @@ +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 == 't22m003' }} + steps: + - name: Check out code + uses: actions/checkout@v4 + with: + submodules: true + - name: Publish Custom Node + uses: Comfy-Org/publish-node-action@v1 + with: + personal_access_token: ${{ secrets.REGISTRY_ACCESS_TOKEN }} diff --git a/pyproject.toml b/pyproject.toml index f53b944..203553b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,14 +1,22 @@ [project] -name = "comfyui_save_prompt_and_output" +name = "comfyui-save-prompt-and-output" description = "ComfyUI custom node to save prompt and intermediate outputs" version = "1.0.0" license = { file = "LICENSE" } readme = "README.md" authors = [ - { name = "t22m003" } + { name = "t22m003", email = "t22m003@example.com" } ] keywords = ["comfyui", "logging", "utility"] dependencies = [] +classifiers = [ + "Operating System :: OS Independent", +] [project.urls] Repository = "https://github.com/t22m003/ComfyUI_SavePromptAndOutput" + +[tool.comfy] +PublisherId = "t22m003" +DisplayName = "Save Prompt And Output" +Icon = ""