MCPcopy Create free account
hub / github.com/observablehq/framework / startNewDeploy

Method startNewDeploy

src/deploy.ts:198–207  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

196 }
197
198 private async startNewDeploy(): Promise<GetDeployResponse> {
199 const deployConfig = await this.getUpdatedDeployConfig();
200 const deployTarget = await this.getDeployTarget(deployConfig);
201 const buildFilePaths = await this.getBuildFilePaths();
202 const deployId = await this.createNewDeploy(deployTarget);
203
204 await this.uploadFiles(deployId, buildFilePaths);
205 await this.markDeployUploaded(deployId);
206 return await this.pollForProcessingCompletion(deployId);
207 }
208
209 // Make sure deploy exists and has an expected status.
210 private async checkDeployCreated(deployId: string) {

Callers 1

deployMethod · 0.95

Calls 7

getDeployTargetMethod · 0.95
getBuildFilePathsMethod · 0.95
createNewDeployMethod · 0.95
uploadFilesMethod · 0.95
markDeployUploadedMethod · 0.95

Tested by

no test coverage detected