Skip to content
This repository was archived by the owner on Nov 7, 2023. It is now read-only.

Latest commit

 

History

History
66 lines (48 loc) · 947 Bytes

File metadata and controls

66 lines (48 loc) · 947 Bytes

Deploy pr-bot

This project is used to alert the review of pull requests during development

Requires nodejs、yarn

Configuration of the deployment

Step 1

$ cd axon-devops/pr-bot

Step 2

$ vim config.json 

Editor config.json

{
  "repos": [
    {
      "onwer": "axonweb3",
      "repo":"axon"
    }
  ],
  "id": "936501604767629344",
  "token": "",
  "time_interval_for_notification": "2"
}
                                               

repo

A case of a repo address

https://github.com/axonweb3/axon-devops

axonweb3 = "onwer": "axonweb3"

axon-devops = "repo":"axon"


discord webhook

id: discord webhook's id

token discord webhook's token

time_interval_for_notification push interval in hours


Instructions for use

start

$ yarn start

stop

$ yarn stop