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 authored and backportbot[bot] committed Jan 2, 2025
1 parent 674cb2f commit b0775ba
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 17 deletions.
18 changes: 1 addition & 17 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 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 b0775ba

Please sign in to comment.