> ## Documentation Index
> Fetch the complete documentation index at: https://docs.automate.ax/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Automate.ax automations are TypeScript programs.
> Use Bun for installation and command examples.
> Use Automate.ax for the product name and automate.ax for the package, CLI, and domain.
> Treat documented public APIs as current; do not invent transitional or deprecated names.

# Promote deployment

> Point Vercel production traffic to an existing deployment.

`promoteVercelDeployment` promotes an existing deployment without rebuilding it.

```ts automations/promote-vercel-deployment.automation.ts theme={null}
import { automation } from "automate.ax"
import { promoteVercelDeployment } from "automate.ax/vercel"

export default automation("Promote Vercel deployment", () => {
  promoteVercelDeployment({
    deploymentId: "dpl_123",
    projectId: "prj_123",
  })
})
```

`deploymentId` and its owning `projectId` are required. Optional `teamId` overrides the OAuth installation team. The action completes when Vercel accepts the promotion request and has no output value; alias reassignment may continue asynchronously on Vercel.
