@kaffee/lungo
v1.1.1
Published
A based ssh upload package
Downloads
2
Readme
@kaffee/lungo
A based ssh upload package
Installation
Install with npm
npm install --dev @kaffee/lungo
Install with yarn
yarn add --dev @kaffee/lungo
Install with pnpm
pnpm add -D @kaffee/lungo
Usage/Examples
Examples Config
{
"production": {
"serverDir": "/home/nginx/web/dev",
"host": "192.168.1.1",
"port": 22,
"username": "username",
"password": "password",
"project": "kaffee-lungo",
"dist":"dist",
"forward":{
"host": "192.168.1.2",
"port": 22,
"username": "username",
"password": "password",
}
}
}
Example command
yarn lungo --env production
npx lungo --env production
pnpm lungo --env production
The config upload your dist folder to serverDir + project