Reference to github (#19) #10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Workflow to trigger ReadTheDocs build on every push to main branch | |
name: rtd | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
rtd: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Trigger RTDs build | |
run: | | |
curl \ | |
-X POST "https://readthedocs.org/api/v3/projects/bt-tools/versions/latest/builds/" \ | |
-H "Authorization: Token ${{ secrets.RTD_API_TOKEN }}" |