sftp-mirror-action/action.yml

27 lines
553 B
YAML

name: "Sftp Mirror"
description: "Mirror a folder to an sftp server."
inputs:
source:
description: "Source directory"
required: true
destination:
description: "Destination directory"
default: "/"
required: true
sftp-user:
description: "Sftp user name"
required: true
sftp-pw:
description: "Sftp password"
required: true
sftp-host:
description: "Sftp host"
required: true
sftp-port:
description: "Sftp port"
default: "22"
required: true
runs:
using: "docker"
image: "Containerfile"