dagger icon indicating copy to clipboard operation
dagger copied to clipboard

Trigger ReadTheDocs.org build only on successful publish

Open helderco opened this issue 3 years ago • 0 comments

Related to #3668

Overview

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.

helderco avatar Nov 10 '22 12:11 helderco