Skip to content

Commit a07956f

Browse files
committed
Add action to deploy documentation to GitHub pages
1 parent 1f9e011 commit a07956f

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Documentation
2+
on:
3+
push:
4+
jobs:
5+
build-and-deploy:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/setup-python@v5
9+
- uses: actions/checkout@master
10+
11+
- name: Install and Build
12+
run: |
13+
sudo apt install -y doxygen graphviz python3-sphinx python3-breathe python3-sphinx-rtd-theme python3-breathe python3-exhale python3-myst-parser
14+
make docs
15+
16+
- name: Deploy
17+
uses: JamesIves/github-pages-deploy-action@v4
18+
with:
19+
branch: gh-pages # The branch the action should deploy to.
20+
folder: docs/html

0 commit comments

Comments
 (0)