-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yaml
52 lines (52 loc) · 1.54 KB
/
action.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: "lftp sync"
description: "A simple action that allows you to use LFTP securely in a GitHub workflow"
branding:
icon: "upload-cloud"
color: "orange"
inputs:
ftp_host:
required: true
description: "The hostname to connect to"
ftp_protocol:
required: false
default: "sftp"
description: "What protocol to use; sftp, ftp"
ftp_user:
required: false
default: "anonymous"
description: "FTP username"
ftp_pass:
required: false
description: "FTP password if required"
ftp_port:
required: false
default: "22"
description: "FTP port"
ssh_private_key:
required: false
description: "SSH private key which will be used when connecting over SFTP"
ftp_host_fingerprint:
required: false
description: "The SSH host fingerprint to verify when connecting"
disable_strict_host_key_checking:
required: false
default: "false"
description: "Disable StrictHostKeyChecking (not recommended)"
force_ssl:
required: false
default: "true"
description: "if true, refuse to send password in clear when server does not support SSL"
ssl_verify_cert:
required: false
default: "false"
description: "when true, lftp checks if the host name used to connect to the server corresponds to the hostname in its certificate"
commands:
required: false
description: "All commands for lftp seperated with ;"
debug:
required: false
default: "false"
description: "Turn on debug mode"
runs:
using: "docker"
image: "docker://ghcr.io/haukurh/lftp-action-image:1.0.0"