mirror of
https://github.com/appleboy/ssh-action.git
synced 2025-01-04 03:07:23 +00:00
b2e4f0522d
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
19 lines
297 B
HCL
19 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",
|
|
]
|
|
}
|