From eeca2c3cbe84975ffabd7fda932b2f5674e8b0fc Mon Sep 17 00:00:00 2001 From: David Lechner Date: Wed, 3 Jun 2020 18:44:27 -0500 Subject: [PATCH] github: Add GitHub action to build docs. This builds docs, but only on pull requests that change a file in the docs/ directory. --- .github/workflows/docs.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/docs.yml diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml new file mode 100644 index 000000000..ec6b4c7f1 --- /dev/null +++ b/.github/workflows/docs.yml @@ -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