Files
snomiao 60d97de056 chore(publish): update workflow for comfy registry
- Add permissions for issue writing in the workflow
- Set condition to run job only for 'angree' repository owner
- Update action version from 'main' to 'v1' for stability and consistency
2025-05-29 14:15:50 +00:00

26 lines
541 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 == 'angree' }}
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Publish Custom Node
uses: Comfy-Org/publish-node-action@v1
with:
personal_access_token: ${{ secrets.REGISTRY_ACCESS_TOKEN }}