Skip to content

v1.0.1

v1.0.1 #258

Workflow file for this run

name: docs
on:
release:
types:
- published
- released
- edited
workflow_dispatch:
jobs:
deploy-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
lfs: true
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
cache: pip
cache-dependency-path: "pyproject.toml"
- name: Install dependencies
run: |
pip install flit
pip install ".[doc]"
- name: Build documentation
run: mkdocs build -f ./mkdocs.yml
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site