Skip to content

Commit 6bf7bde

Browse files
authored
Merge pull request #24 from ComfyNodePRs/update-publish-yaml
Update Github Action for Publishing to Comfy Registry
2 parents 772de55 + e932c9e commit 6bf7bde

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,19 @@ 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
14-
# if this is a forked repository. Skipping the workflow.
15-
if: github.event.repository.fork == false
17+
if: ${{ github.repository_owner == 'GiusTex' }}
1618
steps:
1719
- name: Check out code
1820
uses: actions/checkout@v4
1921
- name: Publish Custom Node
20-
uses: Comfy-Org/publish-node-action@main
22+
uses: Comfy-Org/publish-node-action@v1
2123
with:
2224
## Add your own personal access token to your Github Repository secrets and reference it here.
2325
personal_access_token: ${{ secrets.REGISTRY_ACCESS_TOKEN }}

0 commit comments

Comments
 (0)