-
-
Notifications
You must be signed in to change notification settings - Fork 52
47 lines (42 loc) · 1.05 KB
/
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
40
41
42
43
44
45
46
47
name: docs
on:
push:
branches:
- main
jobs:
Test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Setup Cpp
uses: aminya/setup-cpp@v1
with:
cmake: true
ninja: true
task: true
doxygen: true
- name: Setup pandoc
run: |
wget https://github.com/jgm/pandoc/releases/download/3.1.2/pandoc-3.1.2-1-amd64.deb
sudo dpkg -i pandoc-3.1.2-1-amd64.deb
rm pandoc-3.1.2-1-amd64.deb
- name: Build Documentation
run: |
git checkout main
task docs
# TODO Automatic deploys fail
# - name: Deploy Documentation
# uses: Cecilapp/GitHub-Pages-deploy@v3
# with:
# build_dir: docs/build/html/
# branch: gh-pages
# email: [email protected]
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}