Skip to content

Commit 81c7f00

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

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.travis.yml

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

1212
script:
1313
- npm run build
14+
# Make sure the book built.
15+
- |
16+
[[ -f "${BOOK_BUILD_DIR}/index.html" ]] || echo "${BOOK_BUILD_DIR}/index.html not found" && exit 1
1417
1518
after_success:
1619
- |

0 commit comments

Comments
 (0)