ssh/.github/main.workflow
Bo-Yi Wu b2e4f0522d update example.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2019-05-15 06:36:27 +08:00

18 lines
297 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",
"PASSWORD",
]
args = [
"--user", "actions",
"--script", "whoami",
]
}