fix vite-build action

This commit is contained in:
0nikod
2026-05-13 22:12:06 +08:00
parent 0592d5d2f1
commit e138896ea5
+2 -2
View File
@@ -3,7 +3,7 @@ name: Build frontend and publish to Comfy registry
on:
push:
branches:
- release/comfy_node
- main
pull_request:
branches:
- main
@@ -42,7 +42,7 @@ jobs:
run: pnpm run build
- name: Publish Custom Node
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/release/comfy_node' }}
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
uses: Comfy-Org/publish-node-action@main
with:
personal_access_token: ${{ secrets.REGISTRY_ACCESS_TOKEN }}