We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 209258d commit d5e4d47Copy full SHA for d5e4d47
Dockerfile
@@ -1,4 +1,4 @@
1
-FROM appleboy/drone-ssh
+FROM appleboy/drone-ssh:1.5.0-linux-amd64
2
3
# Github labels
4
LABEL "com.github.actions.name"="SSH Commands"
README.md
@@ -84,6 +84,24 @@ action "Multiple Commands" {
84
85
<img src="./images/multiple-command-result.png">
86
87
+Multiple Hosts
88
+
89
+```
90
+action "Multiple Hosts" {
91
+ uses = "appleboy/ssh-action@master"
92
+ secrets = [
93
+ "KEY",
94
+ ]
95
+ args = [
96
+ "--host", "foo.com",
97
+ "--host", "bar.com",
98
+ "--user", "actions",
99
+ "--script", "'whoami'",
100
+ "--script", "'ls -al'",
101
102
+}
103
104
105
see the detail of `drone-ssh` command
106
107
```
0 commit comments