-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (28 loc) · 840 Bytes
/
docs.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Publish Documentation
on:
push:
branches:
- master
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Set up python 3.10
id: setup-python
uses: actions/setup-python@v4
with:
python-version: "3.10"
cache: pip
cache-dependency-path: requirements/requirements-ubuntu-latest-3.10.txt
- name: Install pinned requirements
run: |
python -m pip install --upgrade pip
pip install -r requirements/requirements-ubuntu-latest-3.10.txt --prefer-binary
- name: Install docs requirements
run: pip install .[docs]
- name: Build documentation
run: mkdocs gh-deploy --force --clean --verbose