mirror of
https://github.com/usual2970/certimate.git
synced 2025-06-08 13:39:53 +00:00
update readme
This commit is contained in:
parent
9f7e0f8a26
commit
45f9913bdb
@ -72,7 +72,7 @@ make local.run
|
|||||||
密码:1234567890
|
密码:1234567890
|
||||||
```
|
```
|
||||||
|
|
||||||

|
<iframe src="//player.bilibili.com/player.html?bvid=BV1xockeZEm2&page=1" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"> </iframe>
|
||||||
|
|
||||||
## 三、支持的服务商列表
|
## 三、支持的服务商列表
|
||||||
|
|
||||||
|
@ -71,7 +71,7 @@ username:admin@certimate.fun
|
|||||||
password:1234567890
|
password:1234567890
|
||||||
```
|
```
|
||||||
|
|
||||||

|
<iframe width="560" height="315" src="https://www.youtube.com/embed/am_yzdfyNOE?si=S3eojWecB8wPvkAP" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
|
||||||
|
|
||||||
## List of Supported Providers
|
## List of Supported Providers
|
||||||
|
|
||||||
@ -194,3 +194,4 @@ User Responsibility: By using this software, you agree to take full responsibili
|
|||||||
## Star History
|
## Star History
|
||||||
|
|
||||||
[](https://starchart.cc/usual2970/certimate)
|
[](https://starchart.cc/usual2970/certimate)
|
||||||
|
|
||||||
|
@ -2,7 +2,6 @@ package deployer
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"strconv"
|
|
||||||
|
|
||||||
"github.com/usual2970/certimate/internal/domain"
|
"github.com/usual2970/certimate/internal/domain"
|
||||||
"github.com/usual2970/certimate/internal/pkg/core/deployer"
|
"github.com/usual2970/certimate/internal/pkg/core/deployer"
|
||||||
@ -249,7 +248,7 @@ func createDeployer(options *deployerOptions) (deployer.Deployer, logger.Logger,
|
|||||||
return nil, nil, fmt.Errorf("failed to decode provider access config: %w", err)
|
return nil, nil, fmt.Errorf("failed to decode provider access config: %w", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
sshPort, _ := strconv.ParseInt(access.Port, 10, 32)
|
sshPort := access.Port
|
||||||
deployer, err := providerSSH.NewWithLogger(&providerSSH.SshDeployerConfig{
|
deployer, err := providerSSH.NewWithLogger(&providerSSH.SshDeployerConfig{
|
||||||
SshHost: access.Host,
|
SshHost: access.Host,
|
||||||
SshPort: int32(sshPort),
|
SshPort: int32(sshPort),
|
||||||
|
@ -96,7 +96,7 @@ type AccessConfigForQiniu struct {
|
|||||||
|
|
||||||
type AccessConfigForSSH struct {
|
type AccessConfigForSSH struct {
|
||||||
Host string `json:"host"`
|
Host string `json:"host"`
|
||||||
Port string `json:"port"`
|
Port int `json:"port"`
|
||||||
Username string `json:"username"`
|
Username string `json:"username"`
|
||||||
Password string `json:"password"`
|
Password string `json:"password"`
|
||||||
Key string `json:"key"`
|
Key string `json:"key"`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user