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"