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

Method continueExistingDeploy

src/deploy.ts:184–196  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

182 }
183
184 private async continueExistingDeploy(): Promise<GetDeployResponse> {
185 const {deployId} = this.deployOptions;
186 if (!deployId) throw new Error("invalid deploy options");
187 await this.checkDeployCreated(deployId);
188
189 const buildFilePaths = await this.getBuildFilePaths();
190
191 await this.uploadFiles(deployId, buildFilePaths);
192 await this.markDeployUploaded(deployId);
193 const deployInfo = await this.pollForProcessingCompletion(deployId);
194
195 return deployInfo;
196 }
197
198 private async startNewDeploy(): Promise<GetDeployResponse> {
199 const deployConfig = await this.getUpdatedDeployConfig();

Callers 1

deployMethod · 0.95

Calls 5

checkDeployCreatedMethod · 0.95
getBuildFilePathsMethod · 0.95
uploadFilesMethod · 0.95
markDeployUploadedMethod · 0.95

Tested by

no test coverage detected