docs #88
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: docs | |
on: | |
schedule: | |
- cron: 0 9 * * 1 | |
# Manually triggerable in github | |
workflow_dispatch: | |
jobs: | |
docs: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.8 | |
- uses: Gr1N/setup-poetry@v7 | |
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 |