scp-action/.github/main.workflow

20 lines
312 B
Plaintext
Raw Normal View History

2019-05-11 17:03:14 +08:00
workflow "Copy File Via SSH" {
2019-05-11 17:01:31 +08:00
on = "push"
resolves = [
"Copy multiple file",
]
}
action "Copy multiple file" {
uses = "appleboy/scp-action@master"
env = {
SOURCE = "tests/a.txt,tests/b.txt"
TARGET = "/home/actions/test"
}
secrets = [
"HOST",
"USERNAME",
"PASSWORD",
]
}