diff --git a/playbooks/python/readthedocs.yaml b/playbooks/python/readthedocs.yaml new file mode 100644 index 000000000..9c86b23ba --- /dev/null +++ b/playbooks/python/readthedocs.yaml @@ -0,0 +1,6 @@ +- hosts: localhost + tasks: + - name: Trigger readthedocs build URI + uri: + method: POST + url: 'https://readthedocs.org/build/{{ zuul.project.short_name }}' diff --git a/zuul.yaml b/zuul.yaml index 27a7be872..0235981b8 100644 --- a/zuul.yaml +++ b/zuul.yaml @@ -134,6 +134,13 @@ at least a ``username`` and ``password`` attribute. post-run: playbooks/python/upload-pypi +- job: + name: trigger-readthedocs + description: + Send a trigger to the readthedocs url to tell it to build docs + nodes: [] + run: playbooks/python/readthedocs + - job: name: multinode description: |