generated from LuisPalacios/cpp-plantilla
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (32 loc) · 1.02 KB
/
documentation.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
name: Documentación
on:
push:
tags:
- "*"
branches: [main, master]
jobs:
build:
name: Build and publish documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- name: Install Docs
run: |
sudo apt-get install doxygen graphviz
pip install jinja2 Pygments
- name: prepare
run: |
make prepare
- name: configure
run: |
cmake -H. -Bbuild -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Debug" -DIGNORELIBS:BOOL=ON
- name: building
run: |
cmake --build build --config Debug --target docs -j4
- name: Deploy to GitHub Pages
uses: Cecilapp/GitHub-Pages-deploy@v3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
build_dir: ./docs/html