chore: 阿里云上传证书返回值优化为带region的

This commit is contained in:
xiaojunnuo
2026-01-31 19:36:37 +08:00
parent 1a0d3eeb1b
commit 1089aeab9e
10 changed files with 24 additions and 20 deletions
@@ -155,11 +155,11 @@ export class AliyunDeployCertToAll extends AbstractTaskPlugin {
//
let certId: any = this.cert;
if (typeof this.cert === "object") {
const certIdRes = await sslClient.uploadCert({
const certIdRes = await sslClient.uploadCertificate({
name: this.appendTimeSuffix("certd"),
cert: this.cert,
});
certId = certIdRes.certId;
certId = certIdRes.certId as any;
}
const jobId = await this.createDeployJob(sslClient, certId);