-
Notifications
You must be signed in to change notification settings - Fork 14
42 lines (36 loc) · 962 Bytes
/
mkdocs.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
36
37
38
39
40
41
42
name: Publish Github pages
on:
push:
branches:
- master
jobs:
ubuntu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Ubuntu dependencies
run: sudo apt-get install graphviz pandoc
- name: Install Poetry
uses: snok/install-poetry@v1
with:
python-version: 3.12
virtualenvs-create: true
virtualenvs-in-project: true
installer-parallel: true
- name: Load cached venv
id: cached-poetry-dependencies
uses: actions/cache@v3
with:
path: .venv
- name: Install dependencies with river
run: poetry install --no-interaction
shell: bash
- name: Build docs
run: |
cd benchmarks
poetry run python render.py
cd ..
poetry run mkdocs build
- name: Deploy docs
run: |
poetry run mkdocs gh-deploy --force