Added VRAM saving options to model loader #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish to Comfy registry | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
paths: | |
- "pyproject.toml" | |
pull_request: | |
branches: | |
- main | |
types: | |
- closed # Only trigger when the pull request is closed, which includes when it is merged | |
jobs: | |
publish-node: | |
name: Publish Custom Node to registry | |
runs-on: ubuntu-latest | |
if: github.event.repository.fork == false && github.event.pull_request.merged == true | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Publish Custom Node | |
uses: Comfy-Org/publish-node-action@main | |
with: | |
personal_access_token: ${{ secrets.REGISTRY_ACCESS_TOKEN }} ## Add your own personal access token to your Github Repository secrets and reference it here. |