summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Lechner <david@pybricks.com>2020-06-03 18:44:27 -0500
committerDamien George <damien.p.george@gmail.com>2020-06-05 21:42:10 +1000
commiteeca2c3cbe84975ffabd7fda932b2f5674e8b0fc (patch)
treed87b2b0a9ef908420d1d0a3122076620d6d1d7a3
parent621f40b12c272788533dcafcef62ed2a3449bb3b (diff)
github: Add GitHub action to build docs.
This builds docs, but only on pull requests that change a file in the docs/ directory.
-rw-r--r--.github/workflows/docs.yml18
1 files changed, 18 insertions, 0 deletions
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