Skip to content

Commit

Permalink
Test doc building on MR
Browse files Browse the repository at this point in the history
  • Loading branch information
jbigot committed Mar 21, 2022
1 parent d2de603 commit 29780b6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,11 @@ jobs:
- name: Build site
run: |
cmake -DBUILD_DOCUMENTATION=ON -DDDC_BUILD_PDI_WRAPPER=OFF .
make doc
if make doc 2>&1 | tee >(cat>&2) | grep ' warning: ' > /dev/null
then
make doc 2>&1 | grep ' warning: '
exit 1
fi
- name: Publish site
if: ${{ github.event_name == 'push' && github.ref_name == 'main' }}
run: |
Expand Down

0 comments on commit 29780b6

Please sign in to comment.