Some checks are pending
Publish to Comfy registry / Publish Custom Node to registry (push) Waiting to run
8 lines
237 B
Bash
8 lines
237 B
Bash
#!/usr/bin/env sh
|
|
if git diff --cached --name-only | /usr/bin/grep -Eq "^frontend/.*\.(tsx?|css)$"; then
|
|
echo "Frontend changes detected, rebuilding..."
|
|
cd frontend && bun run build:release && cd ..
|
|
git add dist/
|
|
echo "Done."
|
|
fi
|