sftp-mirror-action/action.yml

27 lines
553 B
YAML
Raw Normal View History

2023-12-31 15:16:35 +00:00
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
2023-12-31 16:00:11 +00:00
sftp_user:
2023-12-31 15:16:35 +00:00
description: "Sftp user name"
required: true
2023-12-31 16:00:11 +00:00
sftp_pw:
2023-12-31 15:16:35 +00:00
description: "Sftp password"
required: true
2023-12-31 16:00:11 +00:00
sftp_host:
2023-12-31 15:16:35 +00:00
description: "Sftp host"
required: true
2023-12-31 16:00:11 +00:00
sftp_port:
2023-12-31 15:26:02 +00:00
description: "Sftp port"
default: "22"
required: true
2023-12-31 15:16:35 +00:00
runs:
using: "docker"
image: "Containerfile"