@ -3,6 +3,7 @@ workflow "Remote ssh commands" {
resolves = [
"Executing remote ssh commands",
"Support Private Key",
"Multiple Commands",
]
}
@ -29,3 +30,16 @@ action "Support Private Key" {
"--script", "'ls -al'",
action "Multiple Commands" {
uses = "appleboy/ssh-action@master"
secrets = [
"HOST",
"KEY",
args = [
"--user", "actions",
"--script", "'whoami'",
@ -65,6 +65,23 @@ action "Support Private Key" {
```
Multiple Commands
see the detail of `drone-ssh` command