-
Notifications
You must be signed in to change notification settings - Fork 8
36 lines (32 loc) · 912 Bytes
/
docs.yml
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
name: Docs
on:
#push:
# branches-ignore:
# - '**'
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Requirements
run: sudo apt-get install doxygen
&& sudo apt-get install python3-sphinx
&& pip3 install sphinx-rtd-theme
&& pip3 install breathe
&& pip3 install sphinx-sitemap
- name: Checkout repo
uses: actions/[email protected]
- name: Build docs
run: cd docs
&& make clean html
&& cd _build/html
&& touch .nojekyll
- name: Deploy
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: docs/_build/html # The folder the action should deploy.