1.0.2 • Published 3 years ago

quick-deploy v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Description

quick-deploy helps you deploy quickly

Installation

npm i quick-deploy

Usage

qd init

after qd init,it will create config json(qd.json) in your current terminal path

qd run

qd run, it will upload your file to your server and the config's filename is qd.json, you can change by qd run -c newDd.json

Options

{
    "port": "22", // server port
    "host": "",  // server ip
    "localPath": "/ltf/",  //  Local file path
    "remotePath": "",  // deployment path
    "username": "",  // login name
    "password": "", // login password
    "subdir": "new-subdir", // append files from a ltf and naming it `new-subdir` within the archive
    "beforeUploadCommand": ["ls"], // shell command before upload
    "afterUploadCommand": ["ls"] // shell command after finsish upload
}
1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago