fix(deploy): stage worktree build and short .next cutover
Deploy / release (push) Skipped
Deploy / deploy (push) Failing after 11s

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:
SimoandCursor committed 2026-07-21 21:39:45 +02:00
1 parent 77931db775
commit 687e1f9fb0
2 files changed
+124 -58

No files matched your search

File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff