Skip to content

Commit 581b08b

Browse files
authored
Merge pull request #7 from ComfyNodePRs/publish
Add Github Action for Publishing to Comfy Registry
2 parents 692721c + 7495b79 commit 581b08b

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+
- master
8+
paths:
9+
- "pyproject.toml"
10+
11+
jobs:
12+
publish-node:
13+
name: Publish Custom Node to registry
14+
runs-on: ubuntu-latest
15+
if: ${{ github.repository_owner == 'fpgaminer' }}
16+
steps:
17+
- name: Check out code
18+
uses: actions/checkout@v4
19+
with:
20+
submodules: true
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)