Hello Vercel team,
I have an existing Vercel project with no Git repository connected and zero deployments.
Before connecting a GitHub repository, I have configured:
gitProviderOptions.createDeployments = "disabled"disableRepositoryDispatchEvents = true
I need to connect a GitHub repository without creating or queuing any initial deployment, and without changing these two settings.
Could you please clarify:
- Does
POST /v9/projects/{projectId}/linkcreate or queue an initial deployment when these settings are configured? - Does that endpoint modify either of these settings?
- Does clicking Connect under Project Settings → Git behave differently from calling this API endpoint?
- What is the officially supported method for connecting a repository while guaranteeing that no initial deployment occurs?
I intend to authorize a Preview deployment separately at a later stage. I do not want any automatic or Production deployment during repository linking.
Thank you for your guidance.