mirror of
https://github.com/appleboy/ssh-action.git
synced 2025-06-20 16:42:10 +10:00
Add example
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
5e4c286287
commit
a79592f0da
2 changed files with 50 additions and 2 deletions
18
.github/main.workflow
vendored
Normal file
18
.github/main.workflow
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
workflow "Copy File Via SSH" {
|
||||
on = "push"
|
||||
resolves = [
|
||||
"Executing remote ssh commands",
|
||||
]
|
||||
}
|
||||
|
||||
action "Executing remote ssh commands" {
|
||||
uses = "appleboy/ssh-action@master"
|
||||
secrets = [
|
||||
"HOST",
|
||||
"USERNAME",
|
||||
"PASSWORD",
|
||||
]
|
||||
args = [
|
||||
"--script", "whoami",
|
||||
]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue