mirror of
https://github.com/appleboy/drone-ssh.git
synced 2025-07-02 21:52:51 +08:00
Add option to use file for host path
This commit is contained in:
parent
99f63aaaa8
commit
6bbadc2720
7
main.go
7
main.go
@ -60,9 +60,10 @@ func main() {
|
||||
EnvVar: "PLUGIN_PASSWORD,SSH_PASSWORD,PASSWORD,INPUT_PASSWORD",
|
||||
},
|
||||
cli.StringSliceFlag{
|
||||
Name: "host,H",
|
||||
Usage: "connect to host",
|
||||
EnvVar: "PLUGIN_HOST,SSH_HOST,HOST,INPUT_HOST",
|
||||
Name: "host,H",
|
||||
Usage: "connect to host",
|
||||
EnvVar: "PLUGIN_HOST,SSH_HOST,HOST,INPUT_HOST",
|
||||
FilePath: ".host",
|
||||
},
|
||||
cli.IntFlag{
|
||||
Name: "port,p",
|
||||
|
Loading…
Reference in New Issue
Block a user