add basic docs build workflow

This commit is contained in:
Bastian Schroll 2020-04-17 09:44:00 +02:00
parent 8089d53903
commit 79b66a8668
No known key found for this signature in database
GPG key ID: 92BACF02727570C9

33
.github/workflows/build_docs.yml vendored Normal file
View file

@ -0,0 +1,33 @@
name: build_docs
#on: push
on: [push, pull_request]
branches:
- master
- develop
paths:
- 'docu/**'
jobs:
build_docs:
name: Build documentation
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Build doxygen
uses: mattnotmitt/doxygen-action@v1
with:
working-directory: './'
doxyfile-path: 'docu/doxygen.ini'
- name: Build mkdocs
run: |
python -m pip install --upgrade pip
pip install mkdocs
mkdocs build -f docu/mkdocs.yml
- name: Upload to docs-server