ssh/.github/main.workflow
Bo-Yi Wu a79592f0da Add example
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2019-05-15 06:32:43 +08:00

18 lines
288 B
HCL

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",
]
}