Added publish workflow

This commit is contained in:
misterjoessef
2024-08-06 16:28:36 -07:00
parent 69113d3c29
commit cedf5cb1b7
2 changed files with 35 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
name: Publish to Comfy registry
on:
workflow_dispatch:
push:
branches:
- main
paths:
- "pyproject.toml"
jobs:
publish-node:
name: Publish Custom Node to registry
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Publish Custom Node
uses: Comfy-Org/publish-node-action@main
with:
personal_access_token: ${{ secrets.REGISTRY_ACCESS_TOKEN }}
+15
View File
@@ -0,0 +1,15 @@
[project]
name = "mltask_comfyui"
description = ""
version = "1.0.1"
license = "LICENSE"
dependencies = ["requests", "aiohttp"]
[project.urls]
Repository = "https://github.com/misterjoessef/MLTask_ComfyUI"
# Used by Comfy Registry https://comfyregistry.org
[tool.comfy]
PublisherId = "mltask"
DisplayName = "MLTask_ComfyUI"
Icon = "https://mltask.com/images/android-chrome-512x512.png"