Skip to content

Bugfixes to get it to actually run and pass tests. #2

Bugfixes to get it to actually run and pass tests.

Bugfixes to get it to actually run and pass tests. #2

Workflow file for this run

name: Build documentation
on:
push:
branches:
- master
jobs:
test:
name: Build docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install tox
- name: Build docs
run: |
tox -e docs
touch ./docs/_build/html/.nojekyll
- name: GH Pages Deployment
if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')
uses: JamesIves/[email protected]
with:
branch: gh-pages # The branch the action should deploy to.
folder: ./docs/_build/html
clean: true # Automatically remove deleted files from the deploy branch