Skip to content

Deployment runbook

This is the practical runbook for deploying the PatternYard apps. It captures the commands and the failure modes that have actually bitten in this environment.

Every Vercel CLI call must target the team, or it defaults to a personal scope and appears to do nothing:

Terminal window
--scope team_1A5hxCsAnX5KFLm69oklRZWB

Merging a PR produces only a Preview deploy for these projects. To ship to production, clone the production branch fresh and promote explicitly:

Terminal window
gh repo clone patternyard/<repo> _deploy -- --depth=1 -b <prod-branch>
cd _deploy
git remote remove upstream # forks carry an upstream remote; drop it
vercel link --project <project> --yes --non-interactive --scope team_...
vercel deploy --prod --yes --scope team_...

The studio editor deploys from the wycats-main branch, not develop (its default).

After a production deploy, verify against the real domain (the preview window does not reflect these apps). For protected preview URLs, use vercel curl <url> to bypass deployment protection; production subdomains are public.