Skip to content

Commit b674eb5

Browse files
committed
Add GitHub Pages workflow for Doxygen docs
1 parent 2b15556 commit b674eb5

1 file changed

Lines changed: 47 additions & 0 deletions

File tree

.github/workflows/pages-docs.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: Publish Doxygen Docs
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- docs/**
9+
- Doxyfile
10+
- .nojekyll
11+
- .github/workflows/pages-docs.yml
12+
workflow_dispatch:
13+
14+
permissions:
15+
contents: read
16+
pages: write
17+
id-token: write
18+
19+
concurrency:
20+
group: pages
21+
cancel-in-progress: false
22+
23+
jobs:
24+
deploy:
25+
environment:
26+
name: github-pages
27+
url: ${{ steps.deployment.outputs.page_url }}
28+
runs-on: ubuntu-latest
29+
steps:
30+
- name: Checkout
31+
uses: actions/checkout@v4
32+
33+
- name: Configure GitHub Pages
34+
uses: actions/configure-pages@v5
35+
36+
- name: Ensure no-jekyll marker exists
37+
run: |
38+
touch docs/.nojekyll
39+
40+
- name: Upload pages artifact
41+
uses: actions/upload-pages-artifact@v3
42+
with:
43+
path: docs
44+
45+
- name: Deploy to GitHub Pages
46+
id: deployment
47+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)