Skip to content

Commit

Permalink
add a simple github action workflow to build test the documentation
Browse files Browse the repository at this point in the history
Signed-off-by: Matthieu Gallien <[email protected]>
  • Loading branch information
mgallien committed Jan 2, 2025
1 parent f3d04ab commit 0beec69
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Generate Documentation
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
build:
name: Generate Documentation
runs-on: ubuntu-latest
container: ghcr.io/nextcloud/continuous-integration-client-qt6-doc:client-doc-6.8.0-1
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Generate documentation
run: |
cd doc
make html > build.log 2>&1
if grep WARNING build.log; then
exit 1
else
exit 0
fi

0 comments on commit 0beec69

Please sign in to comment.