Hello,
I am using the Vercel Hobby plan for a personal Vite application. I need the first deployment of a new project to be strictly a Preview deployment. I must not create a Production deployment or Production alias yet.
Configuration:
- GitHub repository is connected.
- Production Branch is configured as
main. - The deployment branch is
codex/cloud-migration. - Preview is configured for all unassigned Git branches.
- All six application environment variables target Preview only.
- There are no Production environment variables.
- Vercel CLI version: 56.4.1.
Unexpected behavior:
vercel deploywithout--prodcreated a Production deployment.vercel deploy --target=previewalso created a Production deployment.- Pushing a new commit to the non-production Git branch
codex/cloud-migrationalso created a Production deployment.
The CLI and dashboard both labeled these deployments as Production and assigned the project’s Production domain. I immediately deleted every unexpected deployment. The project currently has zero deployments.
The project API metadata reports:
- Git provider: GitHub
- Production Branch:
main - Preview environment variables: 6
- Latest deployments: 0
How can I create the very first deployment strictly as Preview on the Hobby plan, without creating a temporary, baseline, or placeholder Production deployment?
Thank you.