GithubHelp home page GithubHelp logo

nirvananimbusa / github-repo-dispatcher Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tete1030/github-repo-dispatcher

0.0 1.0 0.0 283 KB

Trigger deployment or repository_dispatch event for Github Actions

License: MIT License

JavaScript 100.00%

github-repo-dispatcher's Introduction

Github Deployments and Repository Dispatch Trigger

A Tampermonkey userscript for triggering Github deployments and repository dispatch event with one click

Screenshot Screenshot Screenshot

Prerequisite

Tampermonkey / Greasemonkey

Usage

  1. Install Tampermonkey or Greasemonkey in your favorite browser.
  2. Install the script from Greasefork (Recommended, as you can receive updates) or by copying.
  3. Get github personal access token with repo permissions. Copy it.
  4. Open the repo you want to trigger deployments or repo dispatch event.

For repository_dispatch event

  1. Click the "Repo Dispatch" button.
  2. At the first time, you will be asked to input your personal access token.
  3. Input your dispatch type (or any name you want. The name can be used to identify the event in Github Actions).
  4. Input your dispatch payload (optional, in json. E.g. {"debug": true}).

For deployments event

  1. Click the "Deploy" button.
  2. At the first time, you will be asked to input your personal access token.
  3. Input the ref for your deploy, it can be branches/tags/commits
  4. Input your task name (or any name you want. The name can be used to identify the event in Github Actions).
  5. Input your dispatch payload (optional, in json. E.g. {"debug": true}).

Documentations

github-repo-dispatcher's People

Contributors

tete1030 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.