()
| 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) { |
no test coverage detected