Zip and deploy files to ftp server
Install
$ npm install --save gulp-website-deploy
Usage
const gulp = ;const websiteDeploy = ; gulp;
API
websiteDeploy([options])
ftpConfig
Path to ftp config file in json format. Default: '.ftp'
Type: string
Supports config from ftp package. For example:
url
Url from which site will be served. Default: ''
Type: string
directory
Source directory of package to process. Default: 'testpkg'
Type: string
destination
Destination directory on remote server. Default: 'deploy'
Type: string
dateFormat
Format of date which will be appended to uploaded package. Default: 'YYYYMMDD_HHmmSS'
Type: string
zip
Should script create and upload zip file. Default: false
Type: boolean
password
Password to be applied for zip package. Requires zip
command in shell path. Default: ''
Type: string