Deploy Check
Verify production deployments are live, routes resolve, and nothing is broken.
Quick Start
Run the deploy check script against a domain:
bash
bash scripts/deploy-check.sh <domain> [routes-file]
- •
<domain>— the production domain (e.g.,clawdefend.com,lawnlens.com) - •
[routes-file]— optional file with one route per line to check (defaults to common routes)
What It Checks
- •DNS resolution — domain resolves to an IP
- •SSL certificate — valid, not expired, correct domain
- •HTTP status codes — each route returns expected status (200, 301, etc.)
- •Response time — flags routes slower than 3s
- •Critical content — checks for expected text/elements on key pages
- •Redirect chains — follows and reports redirect hops
- •Security headers — checks for X-Frame-Options, CSP, HSTS
Routes File Format
One route per line. Optional expected status code and content check:
code
/ 200 "Sign up" /login 200 "Log in" /dashboard 302 /api/health 200 "ok" /pricing 200 "Pro" /nonexistent 404
If no routes file is provided, checks: /, /login, /signup, /dashboard, /pricing
Output
Prints a summary table:
code
✅ DNS: clawdefend.com → 76.76.21.21 ✅ SSL: Valid, expires 2026-05-15 Route Status Time Content Result / 200 0.4s ✅ ✅ /login 200 0.3s ✅ ✅ /dashboard 302 0.2s — ✅ /api/health 200 0.1s ✅ ✅ /pricing 200 0.5s ✅ ✅ ❌ /signup 500 0.8s — FAIL Security Headers: ✅ X-Frame-Options: SAMEORIGIN ⚠️ Content-Security-Policy: missing ✅ Strict-Transport-Security: max-age=31536000
Per-Project Route Files
Project-specific route files live in the routes/ directory:
code
routes/ clawdefend.routes lawnlens.routes resumemode.routes
Use them by passing the route file as the second argument:
bash
bash scripts/deploy-check.sh clawdefend.com routes/clawdefend.routes bash scripts/deploy-check.sh lawnlens.com routes/lawnlens.routes bash scripts/deploy-check.sh resumemode.com routes/resumemode.routes
Each file defines the exact routes and expected content for that project, so checks are accurate and repeatable.
When to Run
- •After every Vercel/Cloudflare deploy
- •When a user reports something is broken
- •During product launch (run 2-3 times over first hour)
- •As part of the product-launch skill checklist (when built)