Skip to content

Commit e5269cb

Browse files
committed
✨ doc CI/CD
1 parent 0753239 commit e5269cb

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Build and Deploy Documentation
2+
3+
on:
4+
push:
5+
branches:
6+
- main # Adjust to the branch you want to trigger the RTD build.
7+
8+
jobs:
9+
build-docs:
10+
name: Trigger RTD Build
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Trigger Read the Docs Build
15+
env:
16+
READTHEDOCS_TOKEN: ${{ secrets.READTHEDOCS_TOKEN }}
17+
run: |
18+
curl -X POST -d "" \
19+
-H "Authorization: Token $READTHEDOCS_TOKEN" \
20+
https://readthedocs.org/api/v3/projects/ontoaligner/builds/

0 commit comments

Comments
 (0)