Skip to content

Publish to Comfy registry #4

Publish to Comfy registry

Publish to Comfy registry #4

Workflow file for this run

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
- name: Upload CCX
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: $GITHUB_WORKSPACE/javascript/plugins/sd-ppp_PS.ccx
asset_name: sd-ppp_PS.ccx
- name: Upload ZIP
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: $GITHUB_WORKSPACE/javascript/plugins/sd-ppp_PS.ccx
asset_name: sd-ppp_PS.zip