1
0
Files
ftp-deploy-action/action.yml
T

49 lines
1.6 KiB
YAML
Raw Normal View History

2019-09-15 23:56:38 -05:00
name: 'FTP Deploy'
2020-08-26 01:28:40 -05:00
description: 'Automate deploying websites and more with this GitHub action'
2020-02-18 00:34:10 -06:00
author: 'Sam Kirkland'
2019-09-15 23:56:38 -05:00
inputs:
2020-08-26 01:28:40 -05:00
server:
required: true
description: 'ftp server'
username:
required: true
description: 'ftp username'
password:
required: true
description: 'ftp password'
2020-08-30 23:25:49 -05:00
port:
required: false
description: 'Server port to connect to (read your web hosts docs)'
2020-10-23 23:41:37 -05:00
protocol:
required: false
description: 'protocol to deploy with - ftp, ftps, or ftps-legacy'
2020-08-30 23:25:49 -05:00
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
2020-08-30 23:49:59 -05:00
description: 'Prints which modifications will be made with current config options, but doesnt actually make any changes'
2020-08-30 23:25:49 -05:00
dangerous-clean-slate:
required: false
2020-08-30 23:45:46 -05:00
description: 'Deletes ALL contents of server-dir, even items in excluded with exclude argument'
2020-08-30 23:25:49 -05:00
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'
2019-09-15 23:56:38 -05:00
runs:
2020-08-26 01:28:40 -05:00
using: 'node12'
2020-10-24 00:56:44 -05:00
main: 'dist/index.js'
2019-09-15 23:56:38 -05:00
branding:
2020-02-18 00:34:10 -06:00
icon: 'upload-cloud'
2020-08-26 01:28:40 -05:00
color: 'orange'