Trigger a website build on Drone CI after the website editor or author saves or updates data

Hi :wave: I am needing to trigger a drone CI build and am wondering how I would go about triggering the build through another application? At the moment the website builds automatically after I push to master through the command line, but I need too trigger a build on Gitea after the website is updated from a content management system (CMS) front-end.

Hmm, maybe this question should be asked on the Gitea forums?


How would I go about triggering my drone CI to create a new build request for specified repository?

As an example, this would pull data from the authorized API, then build a new website and rsync it to another public www server.

Maybe this will provide more details: Build Create | Drone

Yup, I discovered a solution. :raised_hands:

Awesome documentation yalls!

This, plus bearer token works:{namespace}/{name}/builds

The configuration pipeline aka .drone.yml is executed for the branch sending a POST to.

1 Like