-
Notifications
You must be signed in to change notification settings - Fork 5
50 lines (46 loc) · 1.7 KB
/
build-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
48
49
name: "RA2 pull Request Docs Check"
on:
pull_request:
workflow_dispatch:
create:
branches:
- '*stable' # Matches any branch ending with "stable"
jobs:
docs:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Install prerequisites
run: |
sudo apt-get --allow-releaseinfo-change update -y && sudo apt-get install -y tox pandoc
- name: Building RA2 in html
run: |
cd doc/ref_arch/kubernetes/
echo "---------------------------------------------------------------------------------------"
echo "---------------------------------- Building html --------------------------------------"
echo "---------------------------------------------------------------------------------------"
tox -e docs
echo "Building html was successful! "
- name: Store html build result
uses: actions/upload-artifact@v4
with:
name: ra2-html
path: |
doc/ref_arch/kubernetes/build
- name: Building RA2 in GSMA doc
run: |
cd doc/ref_arch/kubernetes/
echo "---------------------------------------------------------------------------------------"
echo "---------------------------------- Building GSMA doc ----------------------------------"
echo "---------------------------------------------------------------------------------------"
pwd
cat ./tox.ini
tox -e gsma
echo "Building GSMA doc was successful! "
- name: Store GSMA doc build result
uses: actions/upload-artifact@v4
with:
name: ra2-gsma-doc
path: |
doc/ref_arch/kubernetes/gsma/ra2.docx