mirror of
https://github.com/certd/certd.git
synced 2026-07-27 06:47:39 +08:00
perf: 支持部署到阿里云GA
This commit is contained in:
@@ -104,10 +104,11 @@ export class UploadCertToAliyun extends AbstractTaskPlugin {
|
||||
}else{
|
||||
certName = this.buildCertName(CertReader.getMainDomain(this.cert.crt))
|
||||
}
|
||||
this.aliyunCertId = await client.uploadCert({
|
||||
const certIdRes = await client.uploadCert({
|
||||
name: certName,
|
||||
cert: this.cert,
|
||||
});
|
||||
this.aliyunCertId = certIdRes.certId as any;
|
||||
}
|
||||
}
|
||||
//注册插件
|
||||
|
||||
Reference in New Issue
Block a user