-
Notifications
You must be signed in to change notification settings - Fork 7
32 lines (32 loc) · 998 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
name: docs
on:
push:
branches:
- master
- main
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.x
- uses: actions/cache@v2
with:
key: ${{ github.ref }}
path: .cache
- run: sudo apt-get update
- run: sudo apt-get install -y python3-pip npm g++ libpcap-dev texlive-font-utils
- run: wget https://www.doxygen.nl/files/doxygen-1.9.6.linux.bin.tar.gz
- run: tar xzvf doxygen-1.9.6.linux.bin.tar.gz
- run: cp doxygen-1.9.6/bin/* /usr/local/bin/
- run: python3 -m pip install meson ninja
- run: python3 -m pip install -r docs/requirements.txt
- run: sudo npm install -g git://github.com/TerosTechnology/colibri.git#master
shell: bash
- run: meson setup build
- run: meson compile docs -v -C build
- run: mkdocs gh-deploy --force