Files
Limbicnation-ComfyUIDepthEs…/publish.yaml
T
gero 3cb43bf590 Add GitHub Action YAML file for publishing to Comfy Registry
This commit adds a new GitHub Action (publish-node-action) that will run whenever the pyproject.toml file changes. The action publishes the custom node version to the Comfy Registry. This setup includes:
- Triggering the action on changes to the pyproject.toml file in the main or master branches.
- Checking out the code using actions/checkout@v4.
- Using the Comfy-Org/publish-node-action@main to publish the custom node.
- Requires the addition of a REGISTRY_ACCESS_TOKEN secret in the GitHub repository settings.
2024-06-19 02:31:42 +02:00

22 lines
476 B
YAML

name: Publish to Comfy registry
on:
workflow_dispatch:
push:
branches:
- main
- master
paths:
- "pyproject.toml"
jobs:
publish-node:
name: Publish Custom Node to registry
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Publish Custom Node
uses: Comfy-Org/publish-node-action@main
with:
personal_access_token: ${{ secrets.REGISTRY_ACCESS_TOKEN }}