-
Notifications
You must be signed in to change notification settings - Fork 29
49 lines (39 loc) · 1.27 KB
/
doxygen_gh.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
37
38
39
40
41
42
43
44
45
46
47
48
49
name: Doxygen GH
on: [push, pull_request]
jobs:
build-documentation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Cache pip
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: ${{ runner.os }}-pip-
- name: Set up Python
uses: actions/setup-python@v2
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Install doxygen
run: |
sudo apt-get install -y doxygen
sudo apt-get install -y graphviz
- name: Run doxygen
run: |
git clone https://github.com/Infineon/InfineonDoxyGenerator.git
cd InfineonDoxyGenerator
python doxyifx.py html
#python doxyifx.py release ${{ secrets.GH_USER }} ${{ secrets.GITHUB_TOKEN }}
- name: GH Pages Deployment
uses: peaceiris/actions-gh-pages@v3
if: success()
with:
publish_dir: ./docs/doxygen/build/html
enable_jekyll: false
allow_empty_commit: false
force_orphan: true
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}