pro-deploy
v1.0.1
Published
需要在命令行所在目录存在配置文件和dist目录 默认为upload.config.json
Readme
需要在命令行所在目录存在配置文件和dist目录 默认为upload.config.json
npx gen --config configPath 使用命令时可以配置配置文件的地址,相对相对路径,根据命令行所在目录
upload.config.json配置
{
"ssh": {
"host": "your host",
"username": "your username",
"password": "your password "
},
"remoteRootPath": "/home/webapp/test",
"remoteDirectory": "dist"
}配置好配置文件,使用npx upload即可部署文件
