Skip to content

Merge pull request #16 from PMEAL/fix_dark_mode #56

Merge pull request #16 from PMEAL/fix_dark_mode

Merge pull request #16 from PMEAL/fix_dark_mode #56

Workflow file for this run

name: Deploy Documentation
on:
push:
branches:
- main
jobs:
deploy-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/pip.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install Dependencies
run: |
pip install -r requirements/doc.txt
pip install -e .
# Build the documentation
- name: Build the documentation
run: |
cd docs
make html
# Push the documentation's HTML to github-pages
- name: GitHub Pages action
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/build/html