forked from FreeRADIUS/freeradius-server
-
Notifications
You must be signed in to change notification settings - Fork 0
55 lines (45 loc) · 1.27 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: Documentation
on:
push:
branches-ignore:
- coverity_scan
- run-fuzzer**
- debug-fuzzer-**
pull_request:
jobs:
documentation:
runs-on: ubuntu-latest
strategy:
fail-fast: true
steps:
- uses: actions/checkout@v2
- name: Install common build dependencies
run: |
sudo apt-get install -y --no-install-recommends \
asciidoctor \
doxygen \
graphviz
- name: Install Antora
run: |
sudo npm i -g @antora/[email protected] @antora/[email protected];
- name: Show versions
run: |
make --version
doxygen --version
asciidoctor --version
- name: Build doxygen content
run: |
cd doc/doxygen;
doxygen Doxyfile;
- name: Deploy doxygen content to GitHub pages
if: ${{ github.ref == 'refs/heads/main' }}
uses: appleboy/[email protected]
with:
username: ${{ secrets.CI_DOCUMENTATION_DEPLOY_USER }}
password: ${{ secrets.CI_DOCUMENTATION_DEPLOY_TOKEN }}
remote_url: https://github.com/FreeRADIUS/freeradius.github.io.git
target_branch: main
pages_directory: doc/doxygen/html
target_directory : docs
- name: Build Antora docsite
run: antora site.yml