blob: ffd67f83a9dafb81a893d6377e48f675d5d61f4b (
plain)
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
|
name: Generate and Deploy Doxygen Documentation
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Doxygen
run: sudo apt-get install -y doxygen graphviz
- name: Clone m.css
run: git clone --depth 1 https://github.com/mosra/m.css.git docs/mcss
- name: Configure m.css
run: |
cp docs/mcss/doxygen/*.css .
cp docs/mcss/doxygen/m.js .
- name: Generate Doxygen documentation
run: doxygen docs/Doxyfile
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/html
|