docs: multiple command
This commit is contained in:
1 parent
77e02d0fad
commit
5bb5f67611
2 files changed
+31
No files matched your search
@@ -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'",
|
||||
"--script", "'ls -al'",
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user