Deployment Runbook
import { Steps, Aside, Tabs, TabItem } from ‘@astrojs/starlight/components’;
Standard Deployment (Automated)
All deployments run automatically through Vercel + GitHub Actions. The pipeline is:
feature/* → develop → staging → main │ │ │ Preview Staging ProductionNo manual intervention required for standard deployments.
Manual Deployment (Emergency)
Rollback
Option 1: Vercel Instant Rollback (< 60 seconds)
- Vercel dashboard → Deployments
- Find last known-good deployment
- Click “Promote to Production”
- Verify:
curl -I https://brettjohnson.xyz
Option 2: Git Revert
git checkout maingit revert <bad-commit-sha> --no-editgit push origin main# Triggers automatic redeploy + semantic-release PATCH bumpPost-Deployment Verification
# HTTP status checkcurl -I https://brettjohnson.xyz
# All key pagesfor page in "" "speaking" "consulting" "podcast" "media" "contact"; do curl -s -o /dev/null -w "%{http_code} /$page\n" "https://brettjohnson.xyz/$page"done
# API healthcurl https://api.brettjohnson.xyz/api/statusAlso check:
- Sentry for new errors (wait 5 min post-deploy)
- Vercel Analytics for anomalous error rates
DNS Cutover (Launch Day)
-
In Cloudflare DNS, verify CNAME records point to Vercel
-
Test DNS propagation from external network:
Terminal window nslookup brettjohnson.xyz 8.8.8.8 -
Verify HTTPS is working:
Terminal window curl -I https://brettjohnson.xyz -
Confirm old holding page is no longer serving
DNS propagation is near-instant with Cloudflare (< 1 minute, proxied).
Pre-Launch Checklist
- Brett has approved all copy
- All 8 milestones complete in ROADMAP.md
- Lighthouse ≥ 90 (all pages, mobile + desktop)
-
securityheaders.comgrade: A+ - Forms tested end-to-end (Supabase row + email + HubSpot)
- Media kit download tested (email + signed URL)
- Calendly embed loads on
/contact - 404 page renders correctly
-
sitemap.xmlandrobots.txtvalid - OG images render in Slack/Twitter preview
- SSL certificate valid (
brettjohnson.xyz+www.) - HSTS header present
- Sentry receiving events
- Plausible receiving pageviews
- Uptime alert tested