- pyproject.toml: registry metadata (publisher ethanfel, no extra deps) - .github/workflows/publish.yml: Comfy-Org/publish-node-action on pyproject changes (mirrors existing node repos; uses REGISTRY_ACCESS_TOKEN secret) - LICENSE: MIT Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
24 lines
545 B
YAML
24 lines
545 B
YAML
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
|
|
if: ${{ github.repository_owner == 'ethanfel' }}
|
|
steps:
|
|
- name: Check out code
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Publish Custom Node
|
|
uses: Comfy-Org/publish-node-action@main
|
|
with:
|
|
personal_access_token: ${{ secrets.REGISTRY_ACCESS_TOKEN }}
|