Giter Site home page Giter Site logo

deploy-robot's Introduction

自动部署机器人

将你从繁冗的部署工作中解放出来,让你的部署流程更加自动化

特点

  • 与 GitHub 深度整合,利用 GitHub API 读取相关部署指令,并及时反馈部署情况
  • 与人工部署不同的是,自动部署不会疲劳,也不会喊累,你永远可以不停地折腾它

使用方法

执行以下命令安装

npm install -g deploy-robot

使用以下命令启动脚本

deploy-robot -c config.json

config.json 文件

参考目录下的 config.json.sample 文件

{
    "username": "",     // 用户名
    "password": "",     // token,去 https://github.com/settings/applications 的 "Personal access tokens" 选项卡点击 "Generate new token",将获取的字符串填入这里

    "repos": [          // 需要监听地 repo 列表
        {
            "user": "xxx",      // repo 所属用户名
            "name": "xxx",      // repo 名
            "labels": "xxx",    // 指定 issue 的 label
            "command": "xxx",   // 上线脚本的命令
            "confirm": null     // 上线是否需要某人的确认, 默认为空
        }
    ]
}

提交上线请求

见下图

deploy

deploy-robot's People

Contributors

buerld avatar joyqi avatar

Watchers

 avatar

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.