Skip to content

Commit 04053ef

Browse files
committed
Added workflow github
1 parent 43dec6c commit 04053ef

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/publish.yml

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

0 commit comments

Comments
 (0)