Skip to content

Commit

Permalink
add doc workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lpicci96 committed May 17, 2024
1 parent 1fd9cad commit 5d3d57f
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Build documentation
name: documentation

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:

jobs:
documentation:
runs-on: ubuntu-latest
name: Build documentation
steps:
- uses: actions/checkout@v2

- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: "3.10"

- name: Install poetry
run: |
python -m pip install --upgrade pip
pip install poetry
- name: Install package
run: poetry install

- name: Build documentation
run: poetry run make html --directory docs/

0 comments on commit 5d3d57f

Please sign in to comment.