aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/build-docs.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/build-docs.yml')
-rw-r--r--.github/workflows/build-docs.yml26
1 files changed, 26 insertions, 0 deletions
diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml
new file mode 100644
index 0000000..43711d0
--- /dev/null
+++ b/.github/workflows/build-docs.yml
@@ -0,0 +1,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: |
+ pip install --upgrade pip
+ pip install -r docs/requirements.txt
+ - name: Build the documentation
+ run: make -C docs html