You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Trigger ReadTheDocs.org build only on successful publish #3768
Reference docs are being built when tags that start with sdk/python/v are detected.
Problem
The tag triggers a new PyPI deployment but that could fail. Since ReadTheDocs.org will publish based on git alone, and not on PyPI versions, you'll end up with a documented version that doesn't exist.
Solution
It makes more sense to trigger the build manually via a GET request to a custom webhook, inside mage's sdk:python:publish, and only after a successful upload to PyPI.
changed the title [-]Python: Trigger reference docs build only on successful publish[/-][+]Trigger ReadTheDocs.org build only on successful publish[/+]on Nov 10, 2022
Activity
[-]Python: Trigger reference docs build only on successful publish[/-][+]Trigger ReadTheDocs.org build only on successful publish[/+]