Skip to content

Commit

Permalink
action to trigger rtd build
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Henkel <[email protected]>
  • Loading branch information
ct2034 committed Aug 13, 2024
1 parent 9c2b74b commit b23e02c
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/rtd.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Workflow to trigger ReadTheDocs build on every push to main branch

name: rtd

on:
push:
branches:
- main

jobs:
build:
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 }}"

0 comments on commit b23e02c

Please sign in to comment.