Skip to content

Commit 22f8af6

Browse files
mwasilewroxell
authored andcommitted
Add GH workflow to build docs
Signed-off-by: Milosz Wasilewski <milosz.wasilewski@foundries.io>
1 parent 5e28c8d commit 22f8af6

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/docs.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Build docs
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
python-version: [3.7]
11+
12+
steps:
13+
- uses: actions/checkout@v2
14+
- name: Set up Python ${{ matrix.python-version }}
15+
uses: actions/setup-python@v2
16+
with:
17+
python-version: '3.x'
18+
19+
- name: Install deps
20+
run: |
21+
python -m pip install --upgrade pip setuptools
22+
pip install mkdocs
23+
pip install -r mkdocs_plugin/requirements.txt
24+
25+
- name: Install current plugin
26+
run: |
27+
python mkdocs_plugin/setup.py install --force
28+
pip freeze
29+
30+
- name: Build docs
31+
run: |
32+
python -m mkdocs build --clean --site-dir html --config-file mkdocs.yml

0 commit comments

Comments
 (0)