Skip to content

Commit beee86a

Browse files
committed
Add GH workflow for building docs
1 parent fa1eab8 commit beee86a

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/docs.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Docs
2+
on:
3+
push:
4+
branches:
5+
- master
6+
jobs:
7+
docs:
8+
runs-on: macos-latest
9+
steps:
10+
- name: Checkout
11+
uses: actions/checkout@v2.3.1
12+
13+
- name: Setup Python
14+
uses: actions/setup-python@master
15+
with:
16+
python-version: 3.7
17+
18+
- name: Install pipenv
19+
uses: dschep/install-pipenv-action@v1
20+
21+
- name: Build docs
22+
run: |
23+
cd docs
24+
pipenv install
25+
pipenv run make html
26+
cd ..
27+
28+
- name: Deploy
29+
uses: JamesIves/github-pages-deploy-action@4.1.4
30+
with:
31+
branch: gh-pages
32+
folder: docs/_build/html

0 commit comments

Comments
 (0)