-
Notifications
You must be signed in to change notification settings - Fork 42
40 lines (29 loc) · 1.11 KB
/
doxygen.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
40
name: Doxygen
on:
push:
branches: [ 468-doc-automatically-deploy-the-doxygen-documents-to-github-pages ]
pull_request:
branches: [ 468-doc-automatically-deploy-the-doxygen-documents-to-github-pages ]
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release
jobs:
doc-html:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Doxygen
run: sudo apt-get install doxygen graphviz -y
shell: bash
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -Denable-doxygen-doc=ON
- name: Generate doxygen
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} --target doc-html
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
with:
personal_token: ${{ secrets.DEPLOY_TO_THELFER_GITHUB_IO }}
publish_branch: master
publish_dir: ${{github.workspace}}/build/docs/doxygen/html/
external_repository: thelfer/thelfer.github.io
destination_dir: tfel/doxygen/