Skip to content

Commit 75e7a34

Browse files
authored
Merge pull request #7709 from nextcloud/backport/7708/stable-3.15
[stable-3.15] add a simple github action workflow to build test the documentation
2 parents c443546 + 0851fe0 commit 75e7a34

File tree

2 files changed

+23
-17
lines changed

2 files changed

+23
-17
lines changed

.drone.yml

+1-17
Original file line numberDiff line numberDiff line change
@@ -189,23 +189,7 @@ trigger:
189189
- pull_request
190190
- push
191191
---
192-
kind: pipeline
193-
name: Documentation
194-
195-
steps:
196-
- name: build
197-
image: nextcloudci/documentation:documentation-5
198-
commands:
199-
- cd doc
200-
- make html
201-
trigger:
202-
branch:
203-
- master
204-
event:
205-
- pull_request
206-
- push
207-
---
208192
kind: signature
209-
hmac: 1fbd0241ba0d4ea2702804324f4932b3f29d3d937ef75906a529cd00c4252a57
193+
hmac: 94f252484ad174569755f01f37a1776a74085e73b39e36defd4c9e5e13b48456
210194

211195
...

.github/workflows/documentation.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Generate Documentation
2+
on:
3+
pull_request:
4+
types: [opened, synchronize, reopened]
5+
jobs:
6+
build:
7+
name: Generate Documentation
8+
runs-on: ubuntu-latest
9+
container: ghcr.io/nextcloud/continuous-integration-client-qt6-doc:client-doc-6.8.0-1
10+
steps:
11+
- uses: actions/checkout@v4
12+
with:
13+
fetch-depth: 1
14+
- name: Generate documentation
15+
run: |
16+
cd doc
17+
make html > build.log 2>&1
18+
if grep WARNING build.log; then
19+
exit 1
20+
else
21+
exit 0
22+
fi

0 commit comments

Comments
 (0)