Skip to content

Commit

Permalink
Ensure exit code > 0 when errors occur
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelsauter committed Oct 25, 2023
1 parent 4060de7 commit 1c6d034
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/tasks/render.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ spec:
--output-dir=$(params.output-dir) \
--data-source='$(params.data-sources)'
asciidoctor_pdf_flags=''
asciidoctor_pdf_flags='--failure-level ERROR'
if [ "$(params.pdf-theme)" != "" ]; then
asciidoctor_pdf_flags='-a pdf-theme=$(params.pdf-theme)'
asciidoctor_pdf_flags+=' -a pdf-theme=$(params.pdf-theme)'
fi
for f in $(params.output-dir)/*.out; do
Expand Down

0 comments on commit 1c6d034

Please sign in to comment.