-
Notifications
You must be signed in to change notification settings - Fork 20
30 lines (29 loc) · 926 Bytes
/
publish.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Publish to Comfy registry
on:
workflow_dispatch:
inputs:
tag_name:
description: 'tag name'
required: true
jobs:
publish:
name: Publish
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Publish Custom Node
uses: Comfy-Org/publish-node-action@main
with:
## Add your own personal access token to your Github Repository secrets and reference it here.
personal_access_token: ${{ secrets.REGISTRY_ACCESS_TOKEN }}
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: v${{ github.event.inputs.tag_name }}
release_name: v${{ github.event.inputs.tag_name }}
draft: false
prerelease: false