update readme

This commit is contained in:
yoan 2025-01-13 10:43:29 +08:00
parent 9f7e0f8a26
commit 45f9913bdb
4 changed files with 5 additions and 5 deletions

View File

@ -72,7 +72,7 @@ make local.run
密码1234567890
```
![usage.gif](https://i.imgur.com/zpCoLVM.gif)
<iframe src="//player.bilibili.com/player.html?bvid=BV1xockeZEm2&page=1" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"> </iframe>
## 三、支持的服务商列表

View File

@ -71,7 +71,7 @@ usernameadmin@certimate.fun
password1234567890
```
![usage.gif](https://i.imgur.com/zpCoLVM.gif)
<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
@ -194,3 +194,4 @@ User Responsibility: By using this software, you agree to take full responsibili
## Star History
[![Stargazers over time](https://starchart.cc/usual2970/certimate.svg?variant=adaptive)](https://starchart.cc/usual2970/certimate)

View File

@ -2,7 +2,6 @@ package deployer
import (
"fmt"
"strconv"
"github.com/usual2970/certimate/internal/domain"
"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)
}
sshPort, _ := strconv.ParseInt(access.Port, 10, 32)
sshPort := access.Port
deployer, err := providerSSH.NewWithLogger(&providerSSH.SshDeployerConfig{
SshHost: access.Host,
SshPort: int32(sshPort),

View File

@ -96,7 +96,7 @@ type AccessConfigForQiniu struct {
type AccessConfigForSSH struct {
Host string `json:"host"`
Port string `json:"port"`
Port int `json:"port"`
Username string `json:"username"`
Password string `json:"password"`
Key string `json:"key"`