Skip to content

Update readthedocs.yml #4

Update readthedocs.yml

Update readthedocs.yml #4

Workflow file for this run

name: Build and Deploy Docs
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install sphinx
pip install -r ./docs/requirements.txt
- name: Build documentation
run: |
cd docs && make html
- name: Trigger Read the Docs build
run: |
curl -X POST \
-H "Authorization: Token ${{ secrets.READTHEDOCS_TOKEN }}" \
https://readthedocs.org/api/v2/webhook/jito-docs/276813/
env:
READTHEDOCS_TOKEN: ${{ secrets.READTHEDOCS_TOKEN }}