aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/build-docs.yml
blob: 806f8331d2b161598dea9ba11431383bc2aadbca (plain)
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
name: Build the documentation

on:
  pull_request:

permissions:
  contents: read

jobs:
  build:

    name: Build documentation
    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v2
    - name: Set up Python
      uses: actions/setup-python@v2
      with:
        python-version: 3.9
    - name: Install dependencies
      run: |
        python -m pip install --upgrade pip
        pip install -r docs/requirements.txt
    - name: Build the documentation
      run: make -C docs html