add a simple github action workflow to build test the documentation

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
This commit is contained in:
Matthieu Gallien 2025-01-02 12:46:39 +01:00
parent f3d04ab1f6
commit 95b4f26b19
No known key found for this signature in database
GPG Key ID: 7D0F74F05C22F553
2 changed files with 23 additions and 17 deletions

View File

@ -189,23 +189,7 @@ trigger:
- pull_request
- push
---
kind: pipeline
name: Documentation
steps:
- name: build
image: nextcloudci/documentation:documentation-5
commands:
- cd doc
- make html
trigger:
branch:
- master
event:
- pull_request
- push
---
kind: signature
hmac: 1fbd0241ba0d4ea2702804324f4932b3f29d3d937ef75906a529cd00c4252a57
hmac: 94f252484ad174569755f01f37a1776a74085e73b39e36defd4c9e5e13b48456
...

22
.github/workflows/documentation.yml vendored Normal file
View File

@ -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