-
Notifications
You must be signed in to change notification settings - Fork 14
39 lines (35 loc) · 996 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
37
38
39
name: docs
on:
push:
branches:
- master
jobs:
deploying_mkdoc:
runs-on: ubuntu-latest
steps:
- name: mkdocs
uses: actions/checkout@v4
- name: preparing_environment
uses: actions/setup-python@v5
with:
python-version: 3.x
- name: installing_mkdocs
run: pip install mkdocs ; pip install mkdocs-material;
cd docs && mkdocs gh-deploy --force --clean --verbose
deploying_doxygen:
runs-on: ubuntu-latest
needs: deploying_mkdoc
steps:
- name: doxygen
uses: actions/checkout@v4
- name: preparing_doxygen
uses: mattnotmitt/doxygen-action@v1.9.4
with:
doxyfile-path: 'Doxyfile'
working-directory: 'docs'
- name: deploy_doxygen
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/docs/html
destination_dir: doxygen