From 0beec69437e211d50a89c7aa10bcf0a7ea7ba5ee Mon Sep 17 00:00:00 2001 From: Matthieu Gallien Date: Thu, 2 Jan 2025 12:46:39 +0100 Subject: [PATCH] add a simple github action workflow to build test the documentation Signed-off-by: Matthieu Gallien --- .github/workflows/documentation.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/documentation.yml diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml new file mode 100644 index 0000000000000..95b71918d8ad7 --- /dev/null +++ b/.github/workflows/documentation.yml @@ -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