This commit is contained in:
xiaojunnuo
2026-07-05 19:23:49 +08:00
parent 3024720fc2
commit b46948c0ba
33 changed files with 267 additions and 82 deletions
@@ -74,7 +74,7 @@ input:
credentials链接,然后点击编辑按钮,查看Secret key和HMAC key
litessl:[litesslEAB页面](https://freessl.cn/automation/eab-manager),然后点击新增EAB
required: false
required: true
encrypt: true
mergeScript: |2-
@@ -92,7 +92,7 @@ input:
title: EAB HMAC Key
component:
placeholder: 需要EAB的颁发机构生成账号时填写
required: false
required: true
encrypt: true
mergeScript: |2-
@@ -32,6 +32,7 @@ input:
}),
}
}
template: false
required: false
order: 0
@@ -109,11 +110,11 @@ input:
})
},
}
helper: 请选择要部署证书的站点
order: 0
saasDomainIds:
title: SaaS域名
helper: 请选择要部署证书的SaaS域名(SaaS证书模式下必选)
component:
name: remote-select
vModel: value
@@ -132,16 +133,18 @@ input:
required: false
mergeScript: |2-
return {
show: ctx.compute(({form})=>{
return form.deployMode === 'saas'
}),
component:{
form: ctx.compute(({form})=>{
return form
})
},
}
return {
show: ctx.compute(({form})=>{
return form.deployMode === 'saas'
}),
component:{
form: ctx.compute(({form})=>{
return form
})
},
}
helper: 请选择要部署证书的SaaS域名(SaaS证书模式下必选)
order: 0
certLimit:
title: 免费证书数量限制
@@ -155,4 +158,4 @@ input:
output: {}
pluginType: deploy
type: builtIn
scriptFilePath: /plugins/plugin-aliyun/plugin/deploy-to-esa/index.js
scriptFilePath: /plugins/plugin-aliyun/plugin/deploy-to-esa/index.js
@@ -0,0 +1,52 @@
showRunStrategy: false
default:
strategy:
runStrategy: 1
name: BaotaAutoDeploySiteCert
title: 宝塔-全自动部署
icon: svg:icon-bt
group: panel
desc: 根据证书域名自动匹配宝塔站点,全自动部署SSL证书。新增加速域名自动感知,自动新增部署
runStrategy: 0
needPlus: true
input:
cert:
title: 域名证书
helper: 请选择前置任务输出的域名证书
component:
name: output-selector
from:
- ':cert:'
required: true
order: 0
certDomains:
title: 当前证书域名
component:
name: cert-domains-getter
mergeScript: |2-
return {
component:{
inputKey: ctx.compute(({form})=>{
return form.cert
}),
}
}
template: false
required: false
order: 0
accessId:
title: 宝塔授权
helper: 将自动查找证书匹配的站点,检查证书即将过期的站点并更新
component:
name: access-selector
type: baota
required: true
order: 0
output:
deployedList:
title: 已部署过的站点
pluginType: deploy
type: builtIn
scriptFilePath: /plugins/plugin-plus/baota/plugins/plugin-deploy-automatch.js
@@ -314,6 +314,7 @@ input:
component:
name: access-selector
type: acmeAccount
defaultSelect: true
required: false
helper: |-
直接本地生成,无需外部注册