Skip to content

Commit

Permalink
Make sure to fail worfklow step in doc generation of make Sphinx errs (
Browse files Browse the repository at this point in the history
…#707)

* Make sure to fail worfklow step in doc generation of make Sphinx errors out

* Update .github/workflows/generate-docs.yml
  • Loading branch information
oleksandr-pavlyk authored Dec 3, 2021
1 parent caec81c commit 431bed8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/generate-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
cmake .. -DDPCTL_USE_MULTIVERSION_TEMPLATE=ON \
-DDPCTL_ENABLE_DOXYREST=ON \
-DDoxyrest_DIR=`pwd`/doxyrest-2.1.2-linux-amd64
make Sphinx
make Sphinx || exit 1
cd ..
mv generated_docs/docs ~/docs
git clean -dfx
Expand All @@ -90,7 +90,7 @@ jobs:
echo `pwd`
cd master
git rm -rf *
mv ~/docs/* .
mv ~/docs/* . || exit 1
git add .
git config --global user.name 'github-actions[doc-deploy-bot]'
git config --global user.email 'github-actions[doc-deploy-bot]@users.noreply.github.com'
Expand Down

0 comments on commit 431bed8

Please sign in to comment.