23 lines
531 B
YAML
23 lines
531 B
YAML
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
|