-
-
Notifications
You must be signed in to change notification settings - Fork 65
41 lines (33 loc) · 859 Bytes
/
Copy pathdoc.yml
File metadata and controls
41 lines (33 loc) · 859 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
36
37
38
39
40
41
name: Documentation
on:
push:
tags:
- '*'
workflow_dispatch:
jobs:
doc:
name: Deploy documentation
runs-on: ubuntu-latest
steps:
- name: Checkout the Git repository
uses: actions/checkout@v4
- name: Fetch tags
run: |
git fetch --tags
- name: Get current tag
id: vars
run: echo "tag=`git tag --sort=-version:refname | head -n 1`" >> "$GITHUB_OUTPUT"
- name: Generate Documentation
run: |
sudo apt-get update
sudo apt-get install -y doxygen graphviz
cd docs
WUT_VERSION=${{ steps.vars.outputs.tag }} doxygen
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4.2.3
with:
branch: gh-pages
folder: docs/html
single-commit: true
clean: true
clean-exclude: CNAME