As the title says here’s a workaround if you find yourself in a situation where the GitHub webhook fails only for a certain repository with “no reason” or updates made regarding Drone CI itself.
Prerequisites
- GitHub repository
- Drone CI
Solution
First things first, make sure to check your repos drone.yml
file, drone logs, Nginx logs maybe. However, what solved my issue was running Drone sync from the web UI and then trying to reconnect the GitHub repository. So, try to disconnect and reconnect your repo, and that’s it. Basically, unplug it and plug it back in.
Conclusion
In case you face any issues, feel free to leave a comment below and if you find this tutorial useful, follow our official channel on Telegram.