1name: Build the documentation 2 3on: 4 pull_request: 5 6permissions: 7 contents: read 8 9jobs: 10 build: 11 12 name: Build documentation 13 runs-on: ubuntu-latest 14 15 steps: 16 - uses: actions/checkout@v2 17 - name: Set up Python 18 uses: actions/setup-python@v2 19 with: 20 python-version: 3.9 21 - name: Install dependencies 22 run: | 23 pip install --upgrade pip 24 pip install -r docs/requirements.txt 25 - name: Build the documentation 26 run: make -C docs html 27