Skip to content

Commit

Permalink
Also check that building documentation for website works
Browse files Browse the repository at this point in the history
  • Loading branch information
marc1706 committed May 20, 2024
1 parent 86ab57b commit f6f7649
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,14 @@ jobs:
with:
name: Documentation PDF
path: ${{ github.workspace }}/documentation/*.pdf

build-user-docs-website:
name: 'Build user docs for website'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build documentation for website
working-directory: ${{ github.workspace }}/documentation
run: |
mkdir build_website
./create_pdf.sh build_website
2 changes: 1 addition & 1 deletion documentation/create_docs.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

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

echo "Removing build directory"
rm -rf build
Expand Down

0 comments on commit f6f7649

Please sign in to comment.