Skip to content

Commit 7672736

Browse files
authored
use github workflow to build doxygen docs on tag (#152)
1 parent afab9a5 commit 7672736

File tree

4 files changed

+2148
-952
lines changed

4 files changed

+2148
-952
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
container: devkitpro/devkitppc:latest
1010

1111
steps:
12-
- uses: actions/checkout@v3
12+
- uses: actions/checkout@v3.5.2
1313

1414
- name: Build
1515
run: |

.github/workflows/doxygen.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Build documentation
2+
3+
on:
4+
push:
5+
tags: [ v* ]
6+
7+
jobs:
8+
build:
9+
name: Build documentation
10+
runs-on: ubuntu-latest
11+
container: devkitpro/devkitppc:latest
12+
13+
steps:
14+
- uses: actions/checkout@v3.5.2
15+
with:
16+
persist-credentials: false
17+
18+
- name: Display Doxygen version
19+
run: echo "Doxygen version $(doxygen -v)"
20+
21+
- name: Build documentation
22+
run: |
23+
OGC_VERSION=${{ github.ref_name }} doxygen Doxyfile
24+
25+
- name: Deploy 🚀
26+
uses: JamesIves/github-pages-deploy-action@v4.4.1
27+
with:
28+
BRANCH: gh-pages
29+
FOLDER: docs/html
30+
CLEAN: true
31+
SINGLE_COMMIT: true

0 commit comments

Comments
 (0)