-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
32 lines (31 loc) · 915 Bytes
/
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
name: 'lftp-mirror'
description: 'Mirror local and remote files using lftp'
inputs:
src:
description: 'Source directory or URL (e.g.: sftp://<user>:<pass>@<host><path>)'
required: true
dst:
description: 'Destination directory or URL (e.g.: sftp://<user>:<pass>@<host><path>)'
required: true
connect_program:
description: 'Program to use for connecting (e.g.: ssh i <key> -o StrictHostKeyChecking=no)'
required: false
delete:
description: 'Enable deletion before transfer'
required: false
default: false
verbose:
description: 'Enable verbose logging'
required: false
default: false
mirror_options:
description: 'Extra mirror options (e.g.: --exclude "\.git.*")'
required: false
default: ''
timeout:
description: 'Time limit for the completion (seconds)'
required: false
default: 300
runs:
using: 'docker'
image: 'Dockerfile'