Skip to content

Commit 39c2229

Browse files
authored
Merge pull request #52 from haohaocreates/publish
Add Github Action for Publishing to Comfy Registry
2 parents 881e48a + 9ea8e99 commit 39c2229

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/publish.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Publish to Comfy registry
2+
on:
3+
workflow_dispatch:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- "pyproject.toml"
9+
10+
jobs:
11+
publish-node:
12+
name: Publish Custom Node to registry
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Check out code
16+
uses: actions/checkout@v4
17+
- name: Publish Custom Node
18+
uses: Comfy-Org/publish-node-action@main
19+
with:
20+
## Add your own personal access token to your Github Repository secrets and reference it here.
21+
personal_access_token: ${{ secrets.REGISTRY_ACCESS_TOKEN }}

0 commit comments

Comments
 (0)