perf: 支持部署到阿里云GA

This commit is contained in:
xiaojunnuo
2026-01-31 19:30:20 +08:00
parent c27636529d
commit 1a0d3eeb1b
14 changed files with 408 additions and 18 deletions
@@ -115,10 +115,11 @@ export class DeployCertToAliyunCDN extends AbstractTaskPlugin {
if (typeof this.cert === 'object') {
// @ts-ignore
const certName = this.buildCertName(CertReader.getMainDomain(this.cert.crt))
certId = await sslClient.uploadCert({
const certIdRes = await sslClient.uploadCert({
name:certName,
cert: this.cert,
});
certId = certIdRes.certId;
}
const client = await this.getClient(access);