diff --git a/.github/workflows/publish_action.yml b/.github/workflows/publish_action.yml index 70fdbc8..5ddf96d 100644 --- a/.github/workflows/publish_action.yml +++ b/.github/workflows/publish_action.yml @@ -2,10 +2,8 @@ name: Publish to Comfy registry on: workflow_dispatch: push: - branches: - - 1.7.0 - paths: - - "pyproject.toml" + tags: + - '*.*.*' # Triggers on version tags like 1.0.0, 1.2.0, etc. jobs: publish-node: @@ -17,4 +15,4 @@ jobs: - 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. + personal_access_token: ${{ secrets.REGISTRY_ACCESS_TOKEN }}