Skip to content

Commit 4b85094

Browse files
committed
Add actions job for building documentation PDF
1 parent c13fe9c commit 4b85094

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

.github/workflows/tests.yml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,15 @@ on:
55
branches:
66
- master
77
- '[34].[0-9]+.x'
8+
- actions/build_pdf
89
pull_request:
910
branches:
1011
- master
1112
- '[34].[0-9]+.x'
1213

1314
jobs:
14-
build:
15+
build-dev-docs:
16+
name: 'Build development docs'
1517
runs-on: ubuntu-latest
1618
steps:
1719
- uses: actions/checkout@v2
@@ -31,3 +33,21 @@ jobs:
3133
run: |
3234
cd development
3335
make html
36+
37+
build-user-docs-pdf:
38+
name: 'Build user docs PDF'
39+
runs-on: ubuntu-latest
40+
steps:
41+
- uses: actions/checkout@v2
42+
- name: Install fop
43+
run: |
44+
sudo apt-get install -y fop
45+
- name: Build pdf documentation
46+
working-directory: ${{ github.workspace }}/documentation
47+
run: |
48+
./create_pdf.sh
49+
- name: Archive PDF output
50+
uses: actions/upload-artifact@v4
51+
with:
52+
name: Documentation PDF
53+
path: ${{ github.workspace }}/documentation/*.pdf

0 commit comments

Comments
 (0)