Three standard comfy-test scaffolding workflows, lifted verbatim from
ComfyUI-TRELLIS2 (identical across TRELLIS2/CADabra/HYWM2/GeometryPack
— no per-repo customization needed; they reference
PozzettiAndrea/comfy-test/.github/workflows/* and GitHub injects the
repo context):
- pr-gate.yml PR + push-to-main + manual: runs comfy-test gate,
publishes results to gh-pages, screenshots the
gallery index at 1200x700 to gh-pages/gallery-preview.png
- publish.yml pyproject.toml changes -> publish to Comfy registry
- run-tests.yml push-to-dev -> runs the test matrix from comfy-test.toml
Closes the gap that made the README's gallery thumbnail 404 — it
points at https://pozzettiandrea.github.io/ComfyUI-GaussianPack/
gallery-preview.png, which now gets generated on each pr-gate run.
23 lines
603 B
YAML
23 lines
603 B
YAML
name: Publish to Comfy registry
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- main
|
|
- master
|
|
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:
|
|
## Add your own personal access token to your Github Repository secrets and reference it here.
|
|
personal_access_token: ${{ secrets.REGISTRY_ACCESS_TOKEN }}
|