-
Notifications
You must be signed in to change notification settings - Fork 814
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add a simple github action workflow to build test the documentation
Signed-off-by: Matthieu Gallien <[email protected]>
- Loading branch information
1 parent
674cb2f
commit b0775ba
Showing
2 changed files
with
23 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |