mirror of
https://github.com/certd/certd.git
synced 2026-07-29 08:37:36 +08:00
chore: 阿里云上传证书返回值优化为带region的
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user