You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
appleboy-scp-action/.github/main.workflow

34 lines
575 B
Plaintext

workflow "Copy File Via SSH" {
6 years ago
on = "push"
resolves = [
"Copy file via ssh password",
"Copy file via ssh key",
6 years ago
]
}
action "Copy file via ssh password" {
6 years ago
uses = "appleboy/scp-action@master"
env = {
SOURCE = "tests/a.txt,tests/b.txt"
TARGET = "/home/actions/test"
}
secrets = [
"HOST",
"USERNAME",
"PASSWORD",
]
}
action "Copy file via ssh key" {
uses = "appleboy/scp-action@master"
env = {
SOURCE = "tests/a.txt,tests/b.txt"
TARGET = "/home/actions/test"
}
secrets = [
"HOST",
"USERNAME",
"KEY",
]
}