forked from SamKirkland/FTP-Deploy-Action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
49 lines (49 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
name: 'FTP Deploy'
description: 'Automate deploying websites and more with this GitHub action'
author: 'Sam Kirkland'
inputs:
server:
required: true
description: 'ftp server'
username:
required: true
description: 'ftp username'
password:
required: true
description: 'ftp password'
port:
required: false
description: 'Server port to connect to (read your web hosts docs)'
protocol:
required: false
description: 'protocol to deploy with - ftp, ftps, or ftps-legacy'
local-dir:
required: false
description: 'Folder to upload from, must end with trailing slash /'
server-dir:
required: false
description: 'Path to upload to on the server. Must end with trailing slash /'
state-name:
required: false
description: 'Path and name of the state file - this file is used to track which files have been deployed'
dry-run:
required: false
description: 'Prints which modifications will be made with current config options, but doesnt actually make any changes'
dangerous-clean-slate:
required: false
description: 'Deletes ALL contents of server-dir, even items in excluded with exclude argument'
exclude:
required: false
description: 'An array of glob patterns, these files will not be included in the publish/delete process'
log-level:
required: false
description: 'How verbose should the information be - warn, info, debug'
security:
required: false
description: 'strict or loose'
runs:
using: 'node12'
main: 'dist/index.js'
branding:
icon: 'upload-cloud'
color: 'orange'