DEV Community

Discussion on: Manual trigger with Github Actions

Collapse
 
jefftriplett profile image
Jeff Triplett (he/him)

Another alternative is to add an event hook for the on: respository_dispatch event which should let you trigger builds. See the docs here: help.github.com/en/actions/automat...

Collapse
 
sabderemane profile image
Sarah Abd

Oh yes, thanks !
My solution use simplicity with the star button which already here and nothing to implement more than the workflow.
The repository_dispatch event has advantage to target other branch than master contrary to the watch event with the star.
Spot on.

Collapse
 
drewmullen profile image
drewmullen

thanks @jefftriplett i put together an easy example repo based on this: github.com/drewmullen/actions-play...