Skip to content

Trigger deployment or repository_dispatch event for Github Actions

License

Notifications You must be signed in to change notification settings

tete1030/github-repo-dispatcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Trigger deployment or repository_dispatch event for Github Actions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published