mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2025-12-06 07:12:04 +01:00
add basic docs build workflow
This commit is contained in:
parent
8089d53903
commit
79b66a8668
33
.github/workflows/build_docs.yml
vendored
Normal file
33
.github/workflows/build_docs.yml
vendored
Normal 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
|
||||||
Loading…
Reference in a new issue