0.3.0 • Published 6 years ago

ssh-deploy-webpack-plugin v0.3.0

Weekly downloads
1
License
ISC
Repository
-
Last release
6 years ago

Usage

const Deploy = require('ssh-deploy-webpack-plugin');

plugins: [
	new Deploy(opt);
],

opt:

  • user
  • psd
  • host
  • port(optional)
  • from
  • to
  • zipname(optional)
  • afterDeployCLI(optional)

Example

const Deploy = require('ssh-deploy-webpack-plugin');

module.exports = merge(config, {
	plugins: [
		new Deploy({
			user: 'user',
			psd: 'password',
			host: 'x.x.x.x',
			port: 22,								// String | Number
			from: ['web', 'server/node'],			// String | Array
			to: '/data/app/test',					// String
			afterDeployCLI: 'sudo nginx -s reload'	// String
		})
	],
})
0.3.0

6 years ago

0.2.0

6 years ago

0.1.0

6 years ago