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.
The scope flag
Section titled “The scope flag”Every Vercel CLI call must target the team, or it defaults to a personal scope and appears to do nothing:
--scope team_1A5hxCsAnX5KFLm69oklRZWBForce a production deploy
Section titled “Force a production deploy”Merging a PR produces only a Preview deploy for these projects. To ship to production, clone the production branch fresh and promote explicitly:
gh repo clone patternyard/<repo> _deploy -- --depth=1 -b <prod-branch>cd _deploygit remote remove upstream # forks carry an upstream remote; drop itvercel 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).
Gotchas
Section titled “Gotchas”Verify on the live domain
Section titled “Verify on the live domain”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.