Add GitHub Actions workflow to build and deploy documentation

This commit is contained in:
Dimitri Lozeve 2021-03-01 21:13:42 +01:00
parent 1bdde4aed1
commit 549ace06b9
2 changed files with 24 additions and 0 deletions

23
.github/workflows/docs.yml vendored Normal file
View file

@ -0,0 +1,23 @@
name: docs
on:
push:
branches:
- master
jobs:
docs:
name: Build and deploy documentation
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Doxygen
run: sudo apt-get install -y doxygen graphviz
- name: Build documentation
run: doxygen Doxyfile
- name: Deploy documentation
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./doc/html