Skip to content

Update requirements.txt #180

Update requirements.txt

Update requirements.txt #180

Workflow file for this run

name: Sphinx documentation build
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Python 3
uses: actions/setup-python@v5
with:
python-version: '3.9.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
pip install .[docs,test]
- name: Build package
run: python -m build
- name: Build HTML
run: |
apt-get update -y --allow-releaseinfo-change && apt-get install -y git pandoc latexmk texlive-latex-recommended texlive-latex-extra dvipng texlive-fonts-recommended
cd docs
make html
- name: Upload artifacts
uses: actions/upload-artifact@v1
with:
name: html-docs
path: docs/_build/html/
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/_build/html