Set the GitHub repository URL (pyproject + README clone) and the publish workflow's owner gate to Little-God1983. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
26 lines
647 B
YAML
26 lines
647 B
YAML
name: Publish to Comfy registry
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- "pyproject.toml"
|
|
|
|
permissions:
|
|
issues: write
|
|
|
|
jobs:
|
|
publish-node:
|
|
name: Publish Custom Node to registry
|
|
runs-on: ubuntu-latest
|
|
if: ${{ github.repository_owner == 'Little-God1983' }}
|
|
steps:
|
|
- name: Check out code
|
|
uses: actions/checkout@v4
|
|
- name: Publish Custom Node
|
|
uses: Comfy-Org/publish-node-action@v1
|
|
with:
|
|
# Create a Comfy Registry API key and store it as the REGISTRY_ACCESS_TOKEN repo secret.
|
|
personal_access_token: ${{ secrets.REGISTRY_ACCESS_TOKEN }}
|