# Deploy

> Run the full deploy pipeline (pre-checks → SSH deploy → sanity check) Use when this capability is needed.

- Skill: `tomevault-io/deploy-20` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/deploy-20`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/deploy-20/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/deploy-20

---


Run the end-to-end deploy script:

```bash
bash deploy/e2e-deploy.sh
```

This will:
1. **Pre-checks**: Verify clean git state, all commits pushed, tests pass, lint passes
2. **Build frontend**: Build the frontend bundle locally
3. **Upload frontend**: rsync dist/ to the production server
4. **Deploy backend**: SSH to production, run deploy.sh --skip-frontend (git pull, backend deps, migrations, rolling restart)
5. **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).

---
> Source: [paladin8/kfchess-cc](https://github.com/paladin8/kfchess-cc) — distributed by [TomeVault](https://tomevault.io).
<!-- tomevault:4.0:skill_md:2026-06-21 -->

