mirror of
https://github.com/SamKirkland/FTP-Deploy-Action.git
synced 2025-08-14 14:05:05 +00:00
Complete rewrite! Switched from LFTP to git-ftp Upload diffs based on git history by default lower case kebab argument names Migrated from shell to typescript Added FTP and SFTP tests .git-ftp-ignore and .git-ftp-include support
28 lines
742 B
YAML
28 lines
742 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
|
|
git-ftp-args:
|
|
description: 'Passes through options into git-ftp'
|
|
defaults:
|
|
required: false
|
|
runs:
|
|
using: 'docker'
|
|
image: 'Dockerfile'
|
|
branding:
|
|
icon: 'upload-cloud'
|
|
color: 'orange'
|