Skip to content

Commit 23563ec

Browse files
authored
Merge pull request #218 from ComfyNodePRs/update-publish-yaml
Update Github Action for Publishing to Comfy Registry
2 parents 534e794 + 3a4d998 commit 23563ec

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/publish.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,18 @@ on:
77
paths:
88
- "pyproject.toml"
99

10+
permissions:
11+
issues: write
12+
1013
jobs:
1114
publish-node:
1215
name: Publish Custom Node to registry
1316
runs-on: ubuntu-latest
17+
if: ${{ github.repository_owner == 'Kosinkadink' }}
1418
steps:
1519
- name: Check out code
1620
uses: actions/checkout@v4
1721
- name: Publish Custom Node
18-
uses: Comfy-Org/publish-node-action@main
22+
uses: Comfy-Org/publish-node-action@v1
1923
with:
20-
personal_access_token: ${{ secrets.REGISTRY_ACCESS_TOKEN }} ## Add your own personal access token to your Github Repository secrets and reference it here.
24+
personal_access_token: ${{ secrets.REGISTRY_ACCESS_TOKEN }} ## Add your own personal access token to your Github Repository secrets and reference it here.

0 commit comments

Comments
 (0)