Skip to content

Commit f6f7649

Browse files
committed
Also check that building documentation for website works
1 parent 86ab57b commit f6f7649

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

.github/workflows/tests.yml

+11
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,14 @@ jobs:
5050
with:
5151
name: Documentation PDF
5252
path: ${{ github.workspace }}/documentation/*.pdf
53+
54+
build-user-docs-website:
55+
name: 'Build user docs for website'
56+
runs-on: ubuntu-latest
57+
steps:
58+
- uses: actions/checkout@v4
59+
- name: Build documentation for website
60+
working-directory: ${{ github.workspace }}/documentation
61+
run: |
62+
mkdir build_website
63+
./create_pdf.sh build_website

documentation/create_docs.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
# set this to the correct path
4-
path="/var/www/phpbb.com/htdocs/support/documentation/3.3"
4+
path=${1:-'/var/www/phpbb.com/htdocs/support/documentation/3.3'}
55

66
echo "Removing build directory"
77
rm -rf build

0 commit comments

Comments
 (0)