| name | deploy |
| description | Run the full deploy pipeline (pre-checks → SSH deploy → sanity check) |
| user-invocable | true |
Run the end-to-end deploy script:
bash deploy/e2e-deploy.sh
This will:
- Pre-checks: Verify clean git state, all commits pushed, tests pass, lint passes
- Build frontend: Build the frontend bundle locally
- Upload frontend: rsync dist/ to the production server
- Deploy backend: SSH to production, run deploy.sh --skip-frontend (git pull, backend deps, migrations, rolling restart)
- Sanity check: Create a game vs AI on kfchess.com, make a move, verify AI responds
If any phase fails, the script stops and reports the error.
Stream the output so the user can see progress. The script may take several minutes (tests + deploy + sanity check).