mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2025-12-06 07:12:04 +01:00
38 lines
791 B
YAML
38 lines
791 B
YAML
name: build_docs
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
# - master
|
|
- develop
|
|
|
|
jobs:
|
|
|
|
build_docs:
|
|
name: Build documentation
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
python-version: ['3.10']
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Set up Python ${{ matrix.python-version }}
|
|
uses: actions/setup-python@v2
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
architecture: x64
|
|
|
|
- name: Build doxygen
|
|
uses: mattnotmitt/doxygen-action@v1
|
|
with:
|
|
working-directory: './'
|
|
doxyfile-path: 'docu/doxygen.ini'
|
|
|
|
- name: Install mkdocs
|
|
run: pip install mkdocs
|
|
- name: Build Docs and Deploy to Github Pages
|
|
run: python -m mkdocs gh-deploy -f docu/mkdocs.yml --force
|