-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
37 lines (37 loc) · 1.27 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
name: 'Secure FTP Transfer'
description: 'This action transfers files between the local environment and a remote FTP server using secure protocols.'
author: 'Ercin Dedeoglu <[email protected]>'
inputs:
host:
description: 'The FTP server hostname. Example: ftp.example.com'
required: true
user:
description: 'The username for the FTP server. Example: user123'
required: true
password:
description: 'The password for the FTP server. It is recommended to use secrets for this input.'
required: true
forceSsl:
description: 'Enforce SSL encryption for the connection. Defaults to true for security.'
required: false
default: 'true'
localDir:
description: 'The local directory to transfer files from. Defaults to the current directory. Example: ./build/'
required: false
default: '.'
remoteDir:
description: 'The remote directory to transfer files to. Defaults to the root directory. Example: /public_html/'
required: false
default: '.'
options:
description: 'Additional options for the lftp mirror command. Example: --only-newer'
required: false
runs:
using: 'docker'
image: 'Dockerfile'
outputs:
file_count:
description: 'The number of files transferred.'
branding:
color: 'blue'
icon: 'upload-cloud'