-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (39 loc) · 1.04 KB
/
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: docs
on:
# At 20:59 every tuesday (23:59 MSK)
schedule:
- cron: 59 20 * * 2
# Manually triggerable in github
workflow_dispatch:
jobs:
codespell:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: codespell
uses: codespell-project/actions-codespell@v2
docs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: setup Python
uses: actions/setup-python@v4
with:
python-version: 3.8
- uses: Gr1N/setup-poetry@v9
with:
poetry-version: 1.1.7
- name: installation pandoc
run: |
wget https://github.com/jgm/pandoc/releases/download/2.14.0.3/pandoc-2.14.0.3-1-amd64.deb
sudo dpkg -i pandoc-2.14.0.3-1-amd64.deb
- name: poetry install
run: |
poetry run python scripts/poetry_fix.py -c
poetry install -E all
- name: make documentations
run: |
cd docs
poetry run make html