Skip to content

Commit d733ba3

Browse files
committed
Trigger ReadTheDocs build on release
1 parent ca7170d commit d733ba3

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/python-publish.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,12 @@ jobs:
2020
run: python -m build
2121
- name: Publish to PyPI
2222
uses: pypa/gh-action-pypi-publish@release/v1
23+
24+
docs:
25+
runs-on: ubuntu-latest
26+
steps:
27+
- name: Trigger ReadTheDocs build
28+
run: |
29+
curl -s -X POST \
30+
-H "Authorization: Token ${{ secrets.RTD_API_TOKEN }}" \
31+
"https://readthedocs.org/api/v3/projects/python-emails/versions/latest/builds/"

0 commit comments

Comments
 (0)