({
org,
projectName,
isSettingUpProject,
archive,
skipAutoDetectionConfirmation,
noWait,
withFullLogs,
agent,
manual,
jsonOutput,
linkedProject,
...args
}: {
now: Now;
path: string;
requestBody: DeploymentOptions;
quiet: boolean;
force?: boolean;
withCache?: boolean;
org: Org;
prebuilt: boolean;
vercelOutputDir?: string;
projectName: string;
isSettingUpProject: boolean;
archive?: ArchiveFormat;
skipAutoDetectionConfirmation?: boolean;
rootDirectory?: string | null;
noWait?: boolean;
withFullLogs?: boolean;
agent?: Agent;
bulkRedirectsPath?: string | null;
manual?: boolean;
jsonOutput?: boolean;
linkedProject?: Project;
})
| 35 | } |
| 36 | |
| 37 | export default async function processDeployment({ |
| 38 | org, |
| 39 | projectName, |
| 40 | isSettingUpProject, |
| 41 | archive, |
| 42 | skipAutoDetectionConfirmation, |
| 43 | noWait, |
| 44 | withFullLogs, |
| 45 | agent, |
| 46 | manual, |
| 47 | jsonOutput, |
| 48 | linkedProject, |
| 49 | ...args |
| 50 | }: { |
| 51 | now: Now; |
| 52 | path: string; |
| 53 | requestBody: DeploymentOptions; |
| 54 | quiet: boolean; |
| 55 | force?: boolean; |
| 56 | withCache?: boolean; |
| 57 | org: Org; |
| 58 | prebuilt: boolean; |
| 59 | vercelOutputDir?: string; |
| 60 | projectName: string; |
| 61 | isSettingUpProject: boolean; |
| 62 | archive?: ArchiveFormat; |
| 63 | skipAutoDetectionConfirmation?: boolean; |
| 64 | rootDirectory?: string | null; |
| 65 | noWait?: boolean; |
| 66 | withFullLogs?: boolean; |
| 67 | agent?: Agent; |
| 68 | bulkRedirectsPath?: string | null; |
| 69 | manual?: boolean; |
| 70 | jsonOutput?: boolean; |
| 71 | linkedProject?: Project; |
| 72 | }) { |
| 73 | const { |
| 74 | now, |
| 75 | path, |
| 76 | requestBody, |
| 77 | force, |
| 78 | withCache, |
| 79 | quiet, |
| 80 | prebuilt, |
| 81 | vercelOutputDir, |
| 82 | rootDirectory, |
| 83 | bulkRedirectsPath, |
| 84 | } = args; |
| 85 | |
| 86 | const client = now._client; |
| 87 | |
| 88 | // The ▲ gutter belongs on the Aliased row, which only prints when we wait |
| 89 | // for alias assignment and domains are auto-assigned. When that row won't |
| 90 | // print (--no-wait, --skip-domain), fall back to ▲ on the Production row. |
| 91 | const aliasedRowWillPrint = |
| 92 | !noWait && requestBody.autoAssignCustomDomains !== false; |
| 93 | |
| 94 | const { env = {} } = requestBody; |
no test coverage detected