Skip to content

guyleaf/simple-github-actions-trigger

 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 66.6%
  • JavaScript 33.4%