mirror of
https://github.com/certd/certd.git
synced 2026-07-16 18:57:32 +08:00
perf: 支持部署到阿里云GA
This commit is contained in:
@@ -251,10 +251,11 @@ export class AliyunDeployCertToSLB extends AbstractTaskPlugin {
|
||||
|
||||
if (typeof this.cert === 'object') {
|
||||
const name = this.appendTimeSuffix('certd');
|
||||
certId = await sslClient.uploadCert({
|
||||
const certIdRes = await sslClient.uploadCert({
|
||||
name: name,
|
||||
cert: this.cert,
|
||||
});
|
||||
certId = certIdRes.certId;
|
||||
}
|
||||
|
||||
return await sslClient.getCertInfo(certId);
|
||||
|
||||
Reference in New Issue
Block a user