0.0.6 • Published 9 months ago

scp-deploy-plugin v0.0.6

Weekly downloads
-
License
ISC
Repository
-
Last release
9 months 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

9 months ago

0.0.5

9 months ago

0.0.4

9 months ago

0.0.3

10 months ago

0.0.2

10 months ago

0.0.1

10 months ago