mirror of
https://gitea.com/actions/appleboy-ssh-action.git
synced 2024-11-23 02:29:37 +01:00
b2e4f0522d
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
18 lines
297 B
HCL
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",
|
|
]
|
|
}
|