node-deploy-web
TypeScript icon, indicating that this package has built-in type declarations

1.0.11 • Public • Published

web 自动部署【测试阶段】

About

web 自动部署

安装

# 全局安装
npm install node-deploy-web

API

$ xxx
参数 描述
[${name}] 项目名称

使用

  • deploy.config.js 示例
module.exports = {
  account: {
    port: '22',
    host: '167.179.xxx.xxx',
    username: 'xxxx',
    ......
  },
  dist: 'dist/',
  fileName: 'build.zip',
  remoteDistName: 'testdemo',
  remoteRoot: '/usr/share/nginx/html',
}

本地调试

# 根据package.json配置 创建bin全局执行环境

/node-deploy-web/

    Package Sidebar

    Install

    npm i node-deploy-web

    Weekly Downloads

    2

    Version

    1.0.11

    License

    ISC

    Unpacked Size

    17.2 kB

    Total Files

    3

    Last publish

    Collaborators

    • luke.simth