chore: 支持手动上传证书并部署

pull/361/head
xiaojunnuo 2025-03-18 01:02:20 +08:00
parent de40be430b
commit 4453070060
2 changed files with 1 additions and 2 deletions

View File

@ -78,7 +78,7 @@ export class CertApplyUploadPlugin extends CertApplyBaseConvertPlugin {
const leftDays = dayjs(certReader.expires).diff(dayjs(), "day");
this.logger.info(`证书过期时间${dayjs(certReader.expires).format("YYYY-MM-DD HH:mm:ss")},剩余${leftDays}`);
const lastCrtMd5 = this.lastStatus.status.output?.certMd5;
const lastCrtMd5 = this.lastStatus?.status?.output?.certMd5;
this.logger.info("证书MD5", crtMd5);
this.logger.info("上次证书MD5", lastCrtMd5);
if (lastCrtMd5 === crtMd5) {

View File

@ -94,7 +94,6 @@ export class CertUploadService extends BaseService<CertInfoEntity> {
title: "默认通知",
});
let pipeline = {
id: nanoid(10),
title: pipelineTitle,
runnableType: "pipeline",
stages: [