This repository has been archived by the owner on Aug 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
70 lines (70 loc) · 1.64 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
name: 'FTP Smart File Copy'
description: '.NET-based GitHub Action to copy files over FTP.'
branding:
icon: arrow-up-circle
color: white
inputs:
server:
description:
'Address for the destination server.'
required: true
port:
description:
'Port for the destination server.'
required: false
default: '21'
username:
description:
'Username for the destination server.'
required: true
password:
description:
'Password for the destination server.'
required: true
source:
description:
'Directory in source from which to upload.'
required: false
default: '/'
destination:
description:
'Directory in destination to which to upload.'
required: false
default: '/'
skipUnchanged:
description:
'Only upload files that have changed.'
required: false
default: 'false'
skipDirectories:
description:
'Folders to be ignored in both source and destination, separated by a pipe (|) character.'
required: false
default: '.github|.well-known'
test:
description:
'Do not perform file deletions or uploads; just output intended actions.'
required: false
default: 'false'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- '--server'
- ${{ inputs.server }}
- '--port'
- ${{ inputs.port }}
- '--username'
- ${{ inputs.username }}
- '--password'
- ${{ inputs.password }}
- '--source'
- ${{ inputs.source }}
- '--destination'
- ${{ inputs.destination }}
- '--skipUnchanged'
- ${{ inputs.skipUnchanged }}
- '--skipDirectories'
- ${{ inputs.skipDirectories }}
- '--test'
- ${{ inputs.test }}