Skip to content

Commit de793f0

Browse files
committed
A stronger check for if the book build in the expected location
1 parent 6dd0c6e commit de793f0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.travis.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@ before_script:
1111

1212
script:
1313
- npm run build
14+
# Make sure the book built.
15+
- |
16+
book_check_file="${BOOK_BUILD_DIR}/index.html"
17+
if [[ ! -f "${book_check_file}" ]]; then
18+
echo "${book_check_file} not found"
19+
exit 1
20+
fi
1421
1522
after_success:
1623
- |

0 commit comments

Comments
 (0)