Skip to content

Commit 9fcbe12

Browse files
authored
Create publish-node.yml
1 parent 49a8c52 commit 9fcbe12

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

.github/workflows/publish-node.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Publish Node to Comfy Registry
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- 'pyproject.toml'
9+
10+
jobs:
11+
publish-node:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Check out code
16+
uses: actions/checkout@v4
17+
18+
- name: Set up Python
19+
uses: actions/setup-python@v5
20+
with:
21+
python-version: '3.x'
22+
23+
- name: Install comfy-cli
24+
run: |
25+
pip install comfy-cli
26+
27+
- name: Publish to registry
28+
env:
29+
COMFY_API_KEY: ${{ secrets.REGISTRY_ACCESS_TOKEN }}
30+
run: |
31+
comfy node publish

0 commit comments

Comments
 (0)