-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (35 loc) · 1.03 KB
/
gh-pages.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Doxygen GitHub Pages Deploy Action
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build-documentation:
runs-on: ubuntu-latest
container:
image: "ghcr.io/kamping-site/kamping-ci:2024.2"
steps:
- uses: actions/checkout@v3
with:
submodules: true
# This generates a Doxyfile with the appropriate library version
- name: Configure version
run: cmake -B build
# Build the HTML documentation
- name: Doxygen Action
uses: mattnotmitt/doxygen-action@edge
with:
doxyfile-path: docs/Doxyfile
working-directory: .
additional-packages: perl build-base texlive-full biblatex ghostscript
# Deploy the HTML documentation to GitHub Pages
- name: GH Pages Deployment
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/html/
enable_jekyll: false
allow_empty_commit: false
force_orphan: true
publish_branch: gh-pages