0.0.5 • Published 7 years ago
fis3-deploy-sftp-client v0.0.5
fis3-deploy-sftp-client
It is a fis3 deploy files plugin based on ssh2
Defaults
{
host: "",
port: 22,
username: '',
password: '',
/* filter by fis release path */
from: '',
/* remote linux path */
to: '',
cache: true
}
Install
npm install [-g] fis3-deploy-sftp-client
use
fis.match('*', {
deploy: fis.plugin('sftp-client', {
from: ['/resource/static', '/view'],
to: ['/test2/a', '/test2/b'],
host: '10.134.xx.xxx',
username: 'root',
password: 'xxx3'
})
})