Skip to content

Commit 431bed8

Browse files
Make sure to fail worfklow step in doc generation of make Sphinx errs (#707)
* Make sure to fail worfklow step in doc generation of make Sphinx errors out * Update .github/workflows/generate-docs.yml
1 parent caec81c commit 431bed8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/generate-docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
cmake .. -DDPCTL_USE_MULTIVERSION_TEMPLATE=ON \
7676
-DDPCTL_ENABLE_DOXYREST=ON \
7777
-DDoxyrest_DIR=`pwd`/doxyrest-2.1.2-linux-amd64
78-
make Sphinx
78+
make Sphinx || exit 1
7979
cd ..
8080
mv generated_docs/docs ~/docs
8181
git clean -dfx
@@ -90,7 +90,7 @@ jobs:
9090
echo `pwd`
9191
cd master
9292
git rm -rf *
93-
mv ~/docs/* .
93+
mv ~/docs/* . || exit 1
9494
git add .
9595
git config --global user.name 'github-actions[doc-deploy-bot]'
9696
git config --global user.email 'github-actions[doc-deploy-bot]@users.noreply.github.com'

0 commit comments

Comments
 (0)