-
Notifications
You must be signed in to change notification settings - Fork 1
35 lines (27 loc) · 779 Bytes
/
doxygen.yml
File metadata and controls
35 lines (27 loc) · 779 Bytes
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
name: Deploy Doxygen Docs to GitHub Pages
on:
push:
branches: ["master"]
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Doxygen
run: sudo apt-get install doxygen graphviz
- name: Doxygen Awesome Theme
run: |
git clone https://github.com/jothepro/doxygen-awesome-css.git
cd doxygen-awesome-css
git checkout v2.3.4
cd ..
- name: Generate Documentation
run: doxygen Doxyfile
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/html # 根据你的Doxyfile输出目录调整