Skip to content

ice-drip/lungo

Repository files navigation

@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

License

GPL

Contributors

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published