-
Notifications
You must be signed in to change notification settings - Fork 2
40 lines (38 loc) · 1.17 KB
/
build-documentation.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: Build Doxygen
on:
push:
branches:
- main
jobs:
build-doxygen:
name: Build Doxygen
runs-on: ubuntu-latest
permissions: write-all
steps:
- name: Checkout the repository
uses: actions/checkout@v4
with:
submodules: true
- name: Install Doxygen
run: |
sudo apt-get install -y graphviz
mkdir doxygen-install
cd doxygen-install
wget https://www.doxygen.nl/files/doxygen-1.10.0.linux.bin.tar.gz
tar -xvf doxygen-1.10.0.linux.bin.tar.gz
sudo mv doxygen-1.10.0/bin/doxygen /usr/bin/doxygen
cd ..
sudo rm -rf doxygen-install
shell: bash
- name: Generate Doxygen Documentation
run: /usr/bin/doxygen Doxygen/Doxyfile
shell: bash
- name: Create .nojekyll (ensures pages with underscores work on gh pages)
run: touch Doxygen/.nojekyll
shell: bash
- name: Upload Doxygen Documentation to Github Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
publish_dir: Doxygen/Generated/html