Skip to content

Bump whitenoise from 6.5.0 to 6.6.0 in /api_server (#120) #341

Bump whitenoise from 6.5.0 to 6.6.0 in /api_server (#120)

Bump whitenoise from 6.5.0 to 6.6.0 in /api_server (#120) #341

Workflow file for this run

name: Build and deploy sphinx docs
on:
workflow_dispatch:
push:
branches:
- main
- 'stable/**'
pull_request:
jobs:
build_and_deploy_docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v2
with:
python-version: '3.9'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox
sudo apt-get update
sudo apt-get install -y pandoc
- name: Build docs
run: |
tox -edocs
- name: Deploy docs
if: startsWith(github.ref, 'refs/heads/stable/') || github.ref == 'refs/heads/main'
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/_build/html/