github: Add GitHub action to build docs.

This builds docs, but only on pull requests that change a file in the
docs/ directory.
pull/6117/head
David Lechner 2020-06-03 18:44:27 -05:00 zatwierdzone przez Damien George
rodzic 621f40b12c
commit eeca2c3cbe
1 zmienionych plików z 18 dodań i 0 usunięć

18
.github/workflows/docs.yml vendored 100644
Wyświetl plik

@ -0,0 +1,18 @@
name: Build docs
on:
pull_request:
paths:
- docs/**
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
- name: Install Python packages
run: pip install Sphinx
- name: Build docs
run: make -C docs/ html