Skip to content

Commit 30c2217

Browse files
committed
CICD: Add GitHub Action File for Documentation Processing.
Also add an appropriate branch condition to the actions building docker images. Signed-off-by: Michael Keller <[email protected]>
1 parent 9912756 commit 30c2217

File tree

1 file changed

+10
-15
lines changed

1 file changed

+10
-15
lines changed

.github/workflows/documentation.yml

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,16 @@ on:
1616

1717
jobs:
1818
documentation:
19-
runs-on: ubuntu-22.04
19+
runs-on: ubuntu-latest
20+
container:
21+
image: ubuntu:22.04
2022

2123
steps:
22-
- name: Install Packages
23-
run: |
24-
sudo apt-get -y update
25-
sudo apt-get -y install asciidoc docbook-xml w3m
26-
27-
- name: Checkout Sources
28-
uses: actions/checkout@v4
29-
with:
30-
fetch-depth: 0
31-
submodules: recursive
32-
33-
- name: Process the Documentation
24+
- name: Process the documentation
3425
id: process_documentation
35-
working-directory: Documentation
36-
run: make
26+
run: |
27+
apt-get update
28+
apt-get upgrade -y
29+
apt-get install -y a2x
30+
cd Documentation
31+
make

0 commit comments

Comments
 (0)