Skip to content

Commit cfa08e9

Browse files
Fix check if index.html file was created
Signed-off-by: Georg Kreuzmayr <[email protected]>
1 parent c97cfb4 commit cfa08e9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Travis/deploy_documentation.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ chmod 600 "$SSH_FILE" \
1717
ssh-keyscan github.com >> "$HOME/.ssh/known_hosts"
1818

1919
chmod +x "$TRAVIS_BUILD_DIR/Travis/generate_documentation.sh"
20-
"$TRAVIS_BUILD_DIR/Travis/generate_documentation.sh" || travis_terminate 1
20+
"$TRAVIS_BUILD_DIR/Travis/generate_documentation.sh" || exit 1

Travis/generate_documentation.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ doxygen $DOXYFILE 2>&1 | tee doxygen.log
7878
# Only upload if Doxygen successfully created the documentation.
7979
# Check this by verifying that the html directory and the file html/index.html
8080
# both exist. This is a good indication that Doxygen did it's work.
81-
if [ -d "html" ] && [ -f "html/index.html" ]; then
81+
if [ -f "index.html" ]; then
8282
echo 'Uploading documentation to the gh-pages branch...'
8383
# Add everything in this directory (the Doxygen code documentation) to the
8484
# gh-pages branch.

0 commit comments

Comments
 (0)