@ -1,4 +1,4 @@
FROM appleboy/drone-ssh
FROM appleboy/drone-ssh:1.5.0-linux-amd64
# Github labels
LABEL "com.github.actions.name"="SSH Commands"
@ -84,6 +84,24 @@ action "Multiple Commands" {
<img src="./images/multiple-command-result.png">
Multiple Hosts
```
action "Multiple Hosts" {
uses = "appleboy/ssh-action@master"
secrets = [
"KEY",
]
args = [
"--host", "foo.com",
"--host", "bar.com",
"--user", "actions",
"--script", "'whoami'",
"--script", "'ls -al'",
}
see the detail of `drone-ssh` command