Skip to content

Commit d5e4d47

Browse files
committed
chore: add drone-ssh version.
1 parent 209258d commit d5e4d47

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM appleboy/drone-ssh
1+
FROM appleboy/drone-ssh:1.5.0-linux-amd64
22

33
# Github labels
44
LABEL "com.github.actions.name"="SSH Commands"

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,24 @@ action "Multiple Commands" {
8484

8585
<img src="./images/multiple-command-result.png">
8686

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+
87105
see the detail of `drone-ssh` command
88106

89107
```

0 commit comments

Comments
 (0)