certimate-go / certimate-go/certimate
[Feature] 在填写私钥文件保存路径、证书链文件保存路径等输入时,支持插值
- Dominant language
- Go
- Stars
- 9.3k
- Forks
- 898
- Avg merge
- 4d 5h
- Merged PRs (30d)
- 8
Description
### Description / 功能描述
在填写私钥文件保存路径、证书链文件保存路径等输入时,支持插值。
### Motivation / 请求动机
这样,如果将工作流名称设置为域名,就能实现固定配置参数:
私钥文件保存路径可设置为: `~/ssl/${{ WORKFLOW.NAME }}.key`,证书链文件部署路径可以设置为:`~/ssl/${{ WORKFLOW.NAME }}.fullchain.pem`。
就能实现:如果每在 certimate 增加一个申请证书的域名时,只需要 copy 一下之前的 workflow,通过鼠标点点点,改变一下部署的主机,而不需要繁琐的手动修改文件路径的步骤。
### Miscellaneous / 其他
_No response_
### Contribution / 贡献代码
- [ ] I am interested in contributing a PR for this! / 我乐意为此提交代码并发起 PR!
Contributor guide
Research direction
Start by locating the workflow inputs and handling for private-key and certificate-chain save paths, then trace how workflow names are available during deployment. Verify that copied workflows resolve the requested name interpolation into distinct paths such as the examples, including both key and full-chain files.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- devops
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100