| cwd | Change current working directory (e.g. "./my-app/") | no | — |
| function | Function entry file (e.g. "./src/server.js") | no | — |
| deploymentToken | Token to deploy and manage applications | yes | — |
| assets | Newline-separated locations of static asset(-s) to include (e.g. "assets") | no | — |
| promotions | Newline-separated domain accociated labels (e.g. "production") | no | — |
| name | Deployment name | no | — |
| description | Deployment description | no | — |
| dryRun | Deployment is created but not uploaded | no | — |
| disableDefaultIndexHTMLRedirect | [DEPRECATED: use --disableStaticRouter] Default: If no function is found, redirect rules for "index.x?html?" files are created (e.g. "/" -308-> "/index.html") | no | — |
| disableStaticRouter | Disables the auto-router for static-only deployments | no | — |
| enableStaticRouter | Enables the auto-router for deployments with functions | no | — |
| preferFileRouter | Prefer file based routing (e.g. "/index.html" -> "/:index.html", "/about.html" -> "/about:about.html") | no | — |
| preferPuppets | If no functions are found, instead of redirect rules for "index.x?html?" files, puppets are created (e.g. "/" -> "/index.html") | no | — |
| disableFunctionDiscovery | Disable function discovery | no | — |
| redirects | Newline-separated Redirect Middleware (e.g. "/:308:/index.html" or "/:/index.html") | no | — |
| puppets | Newline-separated Asset Alias Middleware (e.g. "/:/index.html") | no | — |
| pack | Pack a Next.js or custom application | no | — |
| interceptors | Newline-separated interceptors (e.g. "404:/404.html" or "404:POST:/404.html") | no | — |
| environmentDeploymentApi | Self-hosted: Specify API endpoint | no | — |
| environmentGeneralPurposeApi | Self-hosted: Specify API endpoint | no | — |
| environmentWsGeneralPurposeApi | Self-hosted: Specify API endpoint | no | — |