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
@@ -115,11 +115,11 @@ export class DeployCertToAliyunCDN extends AbstractTaskPlugin {
if (typeof this.cert === 'object') {
// @ts-ignore
const certName = this.buildCertName(CertReader.getMainDomain(this.cert.crt))
const certIdRes = await sslClient.uploadCert({
const certIdRes = await sslClient.uploadCertificate({
name:certName,
cert: this.cert,
});
certId = certIdRes.certId;
certId = certIdRes.certId as any;
}
const client = await this.getClient(access);