Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/deploy-book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,14 @@ jobs:
echo "${{ needs.get-branches.outputs.summary }}" >> $GITHUB_STEP_SUMMARY
echo "${{ needs.deploy-books.outputs.summary }}" >> $GITHUB_STEP_SUMMARY

if [[ "${{ needs.get-branches.outputs.summary }}" == "" || "${{ needs.deploy-books.outputs.summary }}" == "" ]]; then
{
echo "An unknown error has occurred, cannot display summary. It may be there were too many errors or warnings in the book build process."
echo
echo "- You can try building the books locally, or inspecting the workflow run logs to troubleshoot the issue."
} >> $GITHUB_STEP_SUMMARY
fi

isdefault() {
if [ "$1" == '' ]; then
echo '(default value used)'
Expand Down