Drone GitHub does not trigger a build

drone, is deployed and the .drone.yml file is added to the project, and the project build is started in drone, but after the code is submitted, the project does not trigger the build


it's hard to give advice when you describe the problem in this way, at least post your .drone.yml and the configuration of drone. Otherwise, it will be difficult to solve.


Brother, how do you solve


there are generally two kinds of problems that do not automatically build:

  1. .drone.yml file name misspelled
  2. dron service proto should be written as https, instead of http, otherwise github's webhook request will not be available. (this is a common problem, because our nginx forcibly redirects https so that we can access https content with http, so we mistakenly think that github's webhook can also be requested, but in fact it cannot be requested.)
Menu