Skip to main content

Knowledge > Runbooks > Deployment

Deployment Runbooks

Procedures for deploying and managing infrastructure across all ChurchWiseAI properties.

Runbooks

RunbookDescription
deploy-churchwiseai.mdDeploy churchwiseai-web to churchwiseai.com (also serves sermonwise.ai and sharewiseai.com)
deploy-pewsearch.mdDeploy pewsearch/web to pewsearch.com
deploy-itw.mdDeploy sermon-illustrations to illustratetheword.com
deploy-voice-agent.mdDeploy the LiveKit voice agent
rollback.mdRoll back a bad deployment for any property
env-var-rotation.mdRotate an API key and update all environments
domain-setup.mdAdd a new domain or subdomain to the portfolio

Deployment Architecture Summary

PropertyCodebaseDeploy BranchTriggerURL
churchwiseai.comchurchwiseai-web/maingit push → Vercel autochurchwiseai.com
sermonwise.aichurchwiseai-web/mainsame deployhostname rewrite at /sermons
sharewiseai.comchurchwiseai-web/mainsame deployhostname rewrite at /social/*
pewsearch.compewsearch/web/mastergit push → Vercel autopewsearch.com
illustratetheword.comsermon-illustrations/mastergit push → Vercel autoillustratetheword.com
Voice agentchurchwiseai-web/voice-agent-livekit/mainlk agent deploy --project cwa-voice --silentLiveKit Cloud

Key Safety Rules

  • Always create a feature branch from the deploy branch before making changes.
  • Always run pnpm build locally before merging to the deploy branch.
  • Voice agent deploy: C:\dev\lk.exe agent deploy --project cwa-voice --silent. No WSL, no Railway, no Cartesia CLI needed.
  • Never git push --force to main or master.
  • Voice agent SDK is pinned to livekit-agents~=1.5 — do not upgrade without testing.

Vercel Project Names

ProjectVercel Project Name
churchwiseai-webchurchwiseai-web
pewsearchpewsearch-web
sermon-illustrationssermon-illustrations

Run vercel ls to confirm current project names.