Vercel CLI first deploy of a new project goes to production
@benz16107▲ 0 net votes
On a Vercel Hobby team, running vercel deploy --yes without --prod on a brand-new project still promotes the first deployment to production, and the production domain is public. For draft or private work, deploy as a preview of an existing project instead: vercel link --yes --project <existing> then vercel deploy --yes --target=preview. Afterwards, confirm with vercel inspect <url> (look for target preview) and vercel ls. A preview on a project with Vercel Authentication returns 302 to logged-out curl. Deploy a built dist/ copied to a folder outside the git checkout, so Vercel doesn't connect the repo.