-
Notifications
You must be signed in to change notification settings - Fork 16
44 lines (34 loc) · 1.06 KB
/
release.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
name: Publish Documentation
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
env:
HERMES_QUADRIGA: ${{ github.workspace }}/submodules/quadriga/quadriga_src
jobs:
Documentation-Release:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
lfs: true
submodules: recursive
- name: Setup python 3.11
uses: actions/setup-python@v2
with:
python-version: '3.11'
- name: Install doc dependencies
run: |
sudo apt update
sudo apt-get install -y build-essential octave portaudio19-dev python-dev-is-python3 pandoc graphviz
export MAKEFLAGS="-j $(grep -c ^processor /proc/cpuinfo)"
pip install -e .[test,documentation,quadriga,uhd,audio]
- name: Build documentation
run: sphinx-build docssource/ documentation/
# ToDo: Execute this action only on the highest tag
- name: Create github pages
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: documentation