0.0.6 • Published 3 years ago

scp-deploy-plugin v0.0.6

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

Overview

deploy by scp command

After executing the 'npm run build' command, automatically deploy.

Installation

npm i scp-deploy-plugin

Basic Usage

new ScpDeployPlugin({
  host: '127.0.0.1',
  port: 22,
  username: 'root',
  privateKey: '/User/xxx/.ssh/id_rsa', // absolute path
  projectPath: '/app/web/projectName' // contains index.html
})
new ScpDeployPlugin({
  host: '127.0.0.1',
  port: 22, 
  username: 'root',
  password: '***', // you need enter password again  when execute the scp command
  projectPath: '/app/web/projectName' // contains index.html
})
0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago