Skip to content

Commit 2a95682

Browse files
committed
Add GitHub Action for Registry publishing
1 parent 76c2025 commit 2a95682

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Publish to Comfy registry
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- main
8+
paths:
9+
- "pyproject.toml"
10+
11+
jobs:
12+
publish-node:
13+
name: Publish Custom Node to registry
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Check out code
17+
uses: actions/checkout@v4
18+
19+
- name: Publish Custom Node
20+
uses: Comfy-Org/publish-node-action@main
21+
with:
22+
personal_access_token: ${{ secrets.REGISTRY_ACCESS_TOKEN }}

0 commit comments

Comments
 (0)