Skip to content
This repository has been archived by the owner on Oct 28, 2022. It is now read-only.

DevilTea/simple-travis-ci-trigger

Repository files navigation

Simple Travis CI Trigger

A simple and tiny trigger page for Travis CI

only for "api.travis-ci.org"

Quick Start

  1. Configure your config.json. (ref: config.example.json)
{
  "port": 5000, // the port that service would be hosted
  "sessionKeys": ["keys", "keyskeys"], // keys for csrf
  "travis": {
    "token": "your travis token", // as the value :)
    "repository": { // one of id or slug is needed
      "id": "", // 1st priority
      "slug": "COSCUP/2020", // 2nd priority
      "branch": "master" // the branch to trigger
    }
  }
}
  1. Install dependencies
$ npm i
  1. Start the service
$ npm run start
  1. Check localhost:{port} in browser screenshot

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published