Merge branch 'certd:v2' into v2

This commit is contained in:
origami
2024-11-02 01:53:20 +08:00
committed by GitHub
144 changed files with 1716 additions and 602 deletions
@@ -18,7 +18,8 @@ export class CloudflareAccess extends BaseAccess {
component: {
placeholder: 'api token,用户 API 令牌',
},
helper: '前往 https://dash.cloudflare.com/profile/api-tokens 获取API令牌, token权限必须包含:[Zone区域-Zone区域-Edit编辑], [Zone区域-DNS-Edit编辑]',
helper:
'前往 [获取API令牌](https://dash.cloudflare.com/profile/api-tokens),注意是令牌,不是密钥。\n token权限必须包含:[Zone区域-Zone区域-Edit编辑], [Zone区域-DNS-Edit编辑]',
required: true,
encrypt: true,
})
@@ -1,5 +1,5 @@
import { AccessInput, BaseAccess, IsAccess } from '@certd/pipeline';
import { isDev } from "../../utils/env.js";
import { isDev } from '../../utils/env.js';
/**
* 这个注解将注册一个授权配置
@@ -6,6 +6,7 @@ import { SshClient } from '../../lib/ssh.js';
title: '执行远程主机脚本命令',
icon: 'tabler:brand-powershell',
group: pluginGroups.host.key,
desc: '可以执行重启nginx等操作让证书生效',
input: {},
default: {
strategy: {
@@ -6,7 +6,7 @@ import { createCertDomainGetterInputDefine, createRemoteSelectInputDefine } from
@IsTaskPlugin({
name: 'HauweiDeployCertToCDN',
title: '部署证书至华为云CDN',
icon: 'ant-design:huawei-outlined',
icon: 'svg:icon-huawei',
group: pluginGroups.huawei.key,
desc: '',
default: {