fix(deploy): stage worktree build and short .next cutover
Build install/test/migrate in a detached worktree while the live site keeps serving, then swap .next and node_modules during a brief stop. Drops nuclear rm -rf src and rolls back .next.prev on cutover failure. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
1 parent
77931db775
commit
687e1f9fb0
2 files changed
+124
-58