Deploy Cli
Description
Deploy your static website by one line command
Installation
Install with npm
npm install -g deploy-loopslive-web
Usage :
- init project
deploy-loopslive-web init
- config deploy.dev.conf/deploy.pro.conf
{
"name": "project name",
"host": "Hostname or IP address of the server",
"port": "Port number of the server",
"username": "Username for authentication",
"password": "Local path to password",
"remotePath": "Remote path",
"dist": "local path"
}
- deploy
npm run deploy:pre/pro
Simple
{
"name": "project name",
"host": "120.78.194.223",
"port": 22,
"username": "lun",
"password": "/Users/chris/.ssh/pwd",
"remotePath": "/var/www",
"remoteDir": "targe",
"dist": "./dist"
}
License
ISC