mirror of
https://github.com/hanzoui/publish-node-action.git
synced 2026-10-30 20:35:59 +00:00
- Updated copyright to Hanzo AI, Inc. - Replaced ComfyUI references with Hanzo Studio - Updated GitHub org URLs (Comfy-Org → hanzoui) - Updated domains (comfy.org → hanzo.ai) - Updated package names and npm scopes - Updated LICENSE with Hanzo AI copyright header
31 lines
879 B
YAML
31 lines
879 B
YAML
name: "Publish To Registry"
|
|
description: "Publish Custom Nodes to Registry."
|
|
inputs:
|
|
personal_access_token:
|
|
description: "Personal Access Token for authenticating to the Registry"
|
|
required: true
|
|
skip_checkout:
|
|
description: "Whether to skip the checkout step (true/false)"
|
|
required: false
|
|
default: 'false'
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- name: Checkout Custom Node Repository
|
|
uses: actions/checkout@v4
|
|
if: ${{ inputs.skip_checkout != 'true' }}
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: '3.10'
|
|
- name: Install hanzo-cli
|
|
shell: bash
|
|
run: |
|
|
pip install hanzo-cli
|
|
- name: Publish Node
|
|
shell: bash
|
|
run: |
|
|
comfy --skip-prompt --no-enable-telemetry env
|
|
comfy node publish --token ${{ inputs.personal_access_token }}
|
|
|