mirror of
https://github.com/appleboy/ssh-action.git
synced 2024-11-23 14:36:10 +08:00
chore: add drone-ssh version.
This commit is contained in:
parent
209258d632
commit
d5e4d4798e
@ -1,4 +1,4 @@
|
|||||||
FROM appleboy/drone-ssh
|
FROM appleboy/drone-ssh:1.5.0-linux-amd64
|
||||||
|
|
||||||
# Github labels
|
# Github labels
|
||||||
LABEL "com.github.actions.name"="SSH Commands"
|
LABEL "com.github.actions.name"="SSH Commands"
|
||||||
|
18
README.md
18
README.md
@ -84,6 +84,24 @@ action "Multiple Commands" {
|
|||||||
|
|
||||||
<img src="./images/multiple-command-result.png">
|
<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
|
see the detail of `drone-ssh` command
|
||||||
|
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user