Skip to content

Commit

Permalink
✨ doc CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
HamedBabaei committed Dec 5, 2024
1 parent 0753239 commit e5269cb
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/readthedocs-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Build and Deploy Documentation

on:
push:
branches:
- main # Adjust to the branch you want to trigger the RTD build.

jobs:
build-docs:
name: Trigger RTD Build
runs-on: ubuntu-latest

steps:
- name: Trigger Read the Docs Build
env:
READTHEDOCS_TOKEN: ${{ secrets.READTHEDOCS_TOKEN }}
run: |
curl -X POST -d "" \
-H "Authorization: Token $READTHEDOCS_TOKEN" \
https://readthedocs.org/api/v3/projects/ontoaligner/builds/

0 comments on commit e5269cb

Please sign in to comment.