Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
RTD building old "stable" docs instead of "latest" when auto-triggered from recent push #2351
The "latest" docs to be built when triggered by updates to the BitBucket repository.
The "stable" branch of the docs are built when triggered by updates to the BitBucket repository.
I am not sure if it is related, but in the last few weeks, I have been experiencing some weird behavior with bitbucket's webhooks for automatically triggering RTD builds. When I push a change to the BitBucket repository, it triggers a webhook to be sent to: https://readthedocs.org/build/trident , but it times out. It subsequently auto-sends two more webhooks to RTD, each of them timing out too.
When I look at what builds are occurring on the RTD side of things, there are three separate builds that have been started by these webhooks, each for the "stable" (i.e. old) branch, not the "latest" tip. After they each build successfully, I receive an email from RTD informing me that my build failed (link to a "failing" build at: https://readthedocs.org/projects/trident/builds/4264796/ ). After that, I am able to manually trigger a build of the "latest" docs, so RTD knows about the new code, it's just not auto-building it. I'm not sure how to resolve this issue, but it appears to be a bug somewhere, either on RTD or on BitBucket. Any suggestions are welcome. Thank you!