Skip to content

Commit eeca2c3

Browse files
dlechdpgeorge
authored andcommitted
github: Add GitHub action to build docs.
This builds docs, but only on pull requests that change a file in the docs/ directory.
1 parent 621f40b commit eeca2c3

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

.github/workflows/docs.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Build docs
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- docs/**
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v2
14+
- uses: actions/setup-python@v1
15+
- name: Install Python packages
16+
run: pip install Sphinx
17+
- name: Build docs
18+
run: make -C docs/ html

0 commit comments

Comments
 (0)