-
Notifications
You must be signed in to change notification settings - Fork 280
45 lines (37 loc) · 1.06 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
41
42
43
44
45
name: Generate Documentation
permissions:
contents: write
on:
push:
branches: [upload]
workflow_dispatch:
concurrency:
group: documentation
cancel-in-progress: true
jobs:
documentation:
runs-on: ubuntu-22.04
steps:
- name: checkout repository
uses: actions/checkout@v3
- name: cache css
id: cache-css
uses: actions/cache@v3
with:
key: doxygen-css-cache
path: ./doxygen_doc/doxygen-awesome-css
- if: ${{ steps.cache-css.outputs.cache-hit != 'true' }}
name: download css
run: |
git clone https://github.com/jothepro/doxygen-awesome-css ./doxygen_doc/doxygen-awesome-css
- name: run doxygen
uses: mattnotmitt/[email protected]
with:
working-directory: .
doxyfile-path: ./doxygen_doc/Doxyfile
# additional-packages: font-fira-code
- name: deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./doxygen_doc/html/