Skip to main content
vercel.addProjectDomain connects a domain to a project.
automations/add-vercel-domain.automation.ts
The action requires project and domain. Optional gitBranch creates a preview branch domain. customEnvironmentId selects a custom environment. redirect and redirectStatusCode create a 301, 302, 307, or 308 redirect. The output reports verification status and includes any required DNS challenges.