Skip to content

fix docs too

fix docs too #29

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- master
- docs
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4 # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly.
with:
persist-credentials: false
- name: Set up Python 3.7
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install and Build 🔧
run: |
python -m pip install --upgrade pip
pip3 install -U sphinx
pip3 install sphinx-rtd-theme
pip3 install -r requirements_strict_2024.txt
cd docs/
make html
touch _build/html/.nojekyll
- name: Deploy to GitHub Pages
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: docs/_build/html # The folder the action should deploy.
CLEAN: true # Automatically remove deleted files from the deploy branch