Add files via upload

This commit is contained in:
hakoniwa
2026-09-07 16:52:44 +09:00
committed by GitHub
parent 21e8b4f3ec
commit 62bcdc93a0
+30 -23
View File
@@ -1,28 +1,35 @@
name: Publish to Comfy registry
on:
workflow_dispatch:
push:
branches:
- main
- master
paths:
- "pyproject.toml"
name: Publish to Comfy registry
on:
workflow_dispatch:
push:
branches:
- main
- master
paths:
- "pyproject.toml"
permissions:
issues: write
jobs:
publish-node:
name: Publish Custom Node to registry
runs-on: ubuntu-latest
if: ${{ github.repository_owner == '852wa' }}
steps:
contents: read
jobs:
publish-node:
name: Publish Custom Node to registry
runs-on: ubuntu-latest
if: ${{ github.repository_owner == '852wa' }}
steps:
- name: Check out code
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
submodules: true
- name: Publish Custom Node
uses: Comfy-Org/publish-node-action@v1
- name: Set up Python
uses: actions/setup-python@v7
with:
## Add your own personal access token to your Github Repository secrets and reference it here.
personal_access_token: ${{ secrets.REGISTRY_ACCESS_TOKEN }}
python-version: '3.12'
- name: Install publishing tools
run: python -m pip install comfy-cli==1.20.0
- name: Publish Custom Node
env:
REGISTRY_ACCESS_TOKEN: ${{ secrets.REGISTRY_ACCESS_TOKEN }}
run: |
comfy --skip-prompt --no-enable-telemetry env
comfy node publish --token "$REGISTRY_ACCESS_TOKEN"