Skip to content

Publish docs

Publish docs #3

Workflow file for this run

name: Publish docs
on:
push:
branches:
- main
workflow_dispatch: {}
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install OS packages
run: |
sudo apt-get -y update
sudo apt-get install -y libkrb5-dev
- name: Install Tox
run: pip install tox 'virtualenv<20.21.1'
- name: Run Tox
run: tox -e docs
- name: Publish
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: docs/_build/html