Skip to content

Merge pull request #105 from JayBaileyCS/article #160

Merge pull request #105 from JayBaileyCS/article

Merge pull request #105 from JayBaileyCS/article #160

Workflow file for this run

name: Deploy Docs
on:
push:
branches:
- main
permissions:
contents: write
jobs:
docs:
name: Generate Website
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.9"
cache: "pip"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
if [ -f requirements-docs.txt ]; then pip install -r requirements-docs.txt; fi
- name: Build
run: sphinx-build docs/source docs/build
- name: Remove .doctrees
run: rm -r docs/build/.doctrees
- name: Upload to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: docs/build
clean-exclude: |
*.*.*/