fis3-deploy-sftp-client

0.0.5 • Public • Published

fis3-deploy-sftp-client

Latest NPM release

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'
    })
})

Readme

Keywords

Package Sidebar

Install

npm i fis3-deploy-sftp-client

Weekly Downloads

1

Version

0.0.5

License

ISC

Last publish

Collaborators

  • benjamin-zuo