Skip to content

Commit c96cebe

Browse files
Create static.yml
1 parent b002ab6 commit c96cebe

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

.github/workflows/static.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Generate and Deploy Doxygen Docs
2+
3+
on:
4+
push:
5+
branches:
6+
- main # or your default branch
7+
8+
permissions:
9+
contents: write # needed for gh-pages deployment
10+
11+
jobs:
12+
docs:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout repo
17+
uses: actions/checkout@v3
18+
19+
- name: Install Doxygen
20+
run: sudo apt-get update && sudo apt-get install -y doxygen graphviz
21+
22+
- name: Generate docs
23+
run: doxygen Doxyfile
24+
25+
- name: Deploy to GitHub Pages
26+
uses: peaceiris/actions-gh-pages@v3
27+
with:
28+
github_token: ${{ secrets.GITHUB_TOKEN }}
29+
publish_dir: ./docs/html

0 commit comments

Comments
 (0)