mirror of
https://github.com/finegrain-ai/refiners.git
synced 2024-11-24 23:28:45 +00:00
add comfyui registry github action
This commit is contained in:
parent
99e2554b9c
commit
507195b94d
32
.github/workflows/comfy_registry.yml
vendored
Normal file
32
.github/workflows/comfy_registry.yml
vendored
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
name: Publish to Comfy registry
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
paths:
|
||||||
|
- "src/comfyui-refiners/pyproject.toml"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
publish-node:
|
||||||
|
name: Publish Custom Node to registry
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Check out code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
# See https://github.com/Comfy-Org/publish-node-action
|
||||||
|
- name: Set up Python
|
||||||
|
uses: actions/setup-python@v5
|
||||||
|
with:
|
||||||
|
python-version: '3.10'
|
||||||
|
- name: Install comfy-cli
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
pip install comfy-cli
|
||||||
|
- name: Publish Node
|
||||||
|
working-directory: ./src/comfyui-refiners
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
comfy --skip-prompt --no-enable-telemetry env
|
||||||
|
comfy node publish --token ${{ secrets.COMFYUI_REGISTRY_ACCESS_TOKEN }}
|
Loading…
Reference in a new issue