Giter Club home page Giter Club logo

auto-deploy-service's Introduction

auto-deploy-service

自动部署服务。用于搭配webhook使用,当push新的commit到仓库时,服务端自动部署最新代码。

使用说明

npm install -g auto-deploy-service
---
auto-deploy-service -C config.json

命令参数

  • -V --version 查看当前版本
  • -h --help 查看帮助
  • -C --config [file] 启动配置文件
  • log 显示日志

配置文件参数

名称 类型 必填 描述
port Number 指定服务启动使用的端口号,默认为4000。
repository Array 指定管理的子项目。
repository 数组
名称 类型 必填 描述
dir String 项目的根目录路径。
token String Webhook的token。
config.json 示例
{
  "port": 3399,
  "repository": [
    {
      "dir": "/home/project/xxx",
      "token": "xxx"
    }
  ]
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.