FTP-Deploy-Action/action.yml
simmac 6c02cac4ac Ignore .github folder by default
The `.github` folder is now excluded from the sync by default. The reason for this change is that the `.github` folder often includes sensitive information used for deployment configuration.
This behavior can be overwritten by setting the `include-github` input to `true`.
2020-04-30 01:55:54 +02:00

32 lines
888 B
YAML

name: 'FTP Deploy'
description: 'Syncs files via FTP/SFTP to a remote server'
author: 'Sam Kirkland'
inputs:
ftp-server:
description: 'Deployment destination server & path. Formatted as protocol://domain.com:port/full/destination/path/'
required: true
ftp-username:
description: 'FTP account username'
required: true
ftp-password:
description: 'FTP account password'
required: true
local-dir:
description: 'The local folder to copy, defaults to root project folder'
defaults: ./
required: false
ignore-github:
description: 'Whether the .github directory should be excluded from synchronization'
default: "true"
required: false
git-ftp-args:
description: 'Passes through options into git-ftp'
defaults:
required: false
runs:
using: 'docker'
image: 'Dockerfile'
branding:
icon: 'upload-cloud'
color: 'orange'