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