Skip to content

Commit d63bb59

Browse files
Merge pull request #7 from ComfyNodePRs/update-publish-yaml
Update Github Action for Publishing to Comfy Registry
2 parents 8bfc43c + e7a094a commit d63bb59

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
@@ -8,17 +8,19 @@ on:
88
paths:
99
- "pyproject.toml"
1010

11+
permissions:
12+
issues: write
13+
1114
jobs:
1215
publish-node:
1316
name: Publish Custom Node to registry
1417
runs-on: ubuntu-latest
15-
# if this is a forked repository. Skipping the workflow.
16-
if: github.event.repository.fork == false
18+
if: ${{ github.repository_owner == 'ryanontheinside' }}
1719
steps:
1820
- name: Check out code
1921
uses: actions/checkout@v4
2022
- name: Publish Custom Node
21-
uses: Comfy-Org/publish-node-action@main
23+
uses: Comfy-Org/publish-node-action@v1
2224
with:
2325
## Add your own personal access token to your Github Repository secrets and reference it here.
2426
personal_access_token: ${{ secrets.REGISTRY_ACCESS_TOKEN }}

0 commit comments

Comments
 (0)