From 13c89217efc2668675b1b9eb3d6a7417783683cc Mon Sep 17 00:00:00 2001 From: huchenlei Date: Mon, 10 Jun 2024 22:25:34 -0400 Subject: [PATCH] Add workflow --- .github/workflows/publish_action.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/publish_action.yaml diff --git a/.github/workflows/publish_action.yaml b/.github/workflows/publish_action.yaml new file mode 100644 index 0000000..be0b02f --- /dev/null +++ b/.github/workflows/publish_action.yaml @@ -0,0 +1,20 @@ +name: Publish to Comfy registry +on: + workflow_dispatch: + push: + branches: + - main + paths: + - "pyproject.toml" + +jobs: + publish-node: + name: Publish Custom Node to registry + 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: + personal_access_token: ${{ secrets.REGISTRY_ACCESS_TOKEN }}