feat: add --frontend-only flag, SSH pre-flight check, and section timing to deploy script

- --frontend-only skips Rust build and container rebuilds (35s vs 130s)
- SSH connectivity check fails fast if server is unreachable
- Each section now prints elapsed time

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Dorian
2026-03-05 08:12:55 +00:00
parent 36627ae1ac
commit cc47e17c1c
2 changed files with 47 additions and 10 deletions

View File

@@ -89,7 +89,7 @@ After getting Claude Max OAuth working on the live server, hardening the deploy
- **Change**: Verify each category (apps, system, network, bitcoin, wallet, media, files, search, ai-local, notes) returns real data. Wire any that send placeholder/empty data to real store data.
- **Verify**: Chat mode, ask AI about installed apps, gets real context
### Task 16: Deploy script improvements
### Task 16: Deploy script improvements [DONE]
- **Files**: `scripts/deploy-to-target.sh`
- **Change**: Add SSH connectivity pre-flight check. Add `--frontend-only` flag for CSS/Vue-only deploys (skip Rust build + container rebuilds). Add timing output per section.
- **Verify**: `--frontend-only` works, `--live` still works fully