mirror of
https://github.com/appleboy/ssh-action.git
synced 2025-05-23 18:42:25 +00:00
18
.github/main.workflow
vendored
Normal file
18
.github/main.workflow
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
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",
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user