Skip to content

Latest commit

 

History

History
52 lines (42 loc) · 1.51 KB

README.md

File metadata and controls

52 lines (42 loc) · 1.51 KB

Simple Github Actions Trigger

A simple and tiny trigger page for Github actions.

Quick Start

  1. Generate your own access token. please click the link to get more details.

  2. Configure your config.json. (ref: config.example.json)

{
  "port": 5000, // the port that service would be hosted
  "sessionKeys": ["keys", "keyskeys"], // keys for csrf
  "github_actions": {
    "token": "your github personal access token",
    "repository": {
      "owner": "COSCUP",
      "workflow_id": "", // workflow filename or id
      "branch": "", // branch you want to trigger rebuild
      "name": "2021"
    }
  }
}
  1. Install dependencies
$ npm i
  1. Start the service
$ npm run start
  1. Check localhost:{port} in browser screenshot

References