-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
71 lines (71 loc) · 1.97 KB
/
action.yml
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
name: 'lftp-mirror-action'
author: 'Pressidium'
description: 'Upload or update a directory tree via SFTP'
inputs:
host:
description: 'The hostname of the SFTP server'
required: true
port:
description: 'The port of the SFTP server'
required: false
default: '22'
user:
description: 'The username to use for authentication'
required: true
pass:
description: 'The password to use for authentication'
required: true
forceSSL:
description: 'Refuse to send password in clear when server does not support SSL'
required: false
default: 'true'
verifyCertificate:
description: 'Verify server’s certificate to be signed by a known Certificate Authority'
required: false
default: 'true'
fingerprint:
description: 'Key fingerprint of the host we want to connect to'
required: false
default: ''
onlyNewer:
description: 'Only transfer files that are newer than the ones on the remote server'
required: false
default: 'true'
restoreMTime:
description: 'Restore the modification time of the files'
required: false
default: 'true'
parallel:
description: 'Number of parallel transfers'
required: false
default: '1'
settings:
description: 'Any additional lftp settings to configure'
required: false
default: ''
localDir:
description: 'The local directory to copy from'
required: false
default: '.'
remoteDir:
description: 'The remote directory to copy to'
required: false
default: '/var/www/html/'
reverse:
description: 'Whether to copy from the remote to the local directory'
required: false
default: 'true'
ignoreFile:
description: 'The name of the file to use as the ignore list'
required: false
default: '.lftp_ignore'
options:
description: 'Any additional mirror command options to configure'
required: false
default: ''
runs:
using: 'docker'
image: 'Dockerfile'
branding:
icon: 'upload-cloud'
color: 'purple'