Skip to content

Commit

Permalink
Merge pull request #65 from GeorgKreuzmayr/feature/doxygen
Browse files Browse the repository at this point in the history
Fix documentation deployment script
  • Loading branch information
fgather authored Mar 19, 2021
2 parents e2913b7 + cfa08e9 commit 06f1f94
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Travis/deploy_documentation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ chmod 600 "$SSH_FILE" \
ssh-keyscan github.com >> "$HOME/.ssh/known_hosts"

chmod +x "$TRAVIS_BUILD_DIR/Travis/generate_documentation.sh"
"$TRAVIS_BUILD_DIR/Travis/generate_documentation.sh" || travis_terminate 1
"$TRAVIS_BUILD_DIR/Travis/generate_documentation.sh" || exit 1
2 changes: 1 addition & 1 deletion Travis/generate_documentation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ doxygen $DOXYFILE 2>&1 | tee doxygen.log
# Only upload if Doxygen successfully created the documentation.
# Check this by verifying that the html directory and the file html/index.html
# both exist. This is a good indication that Doxygen did it's work.
if [ -d "html" ] && [ -f "html/index.html" ]; then
if [ -f "index.html" ]; then
echo 'Uploading documentation to the gh-pages branch...'
# Add everything in this directory (the Doxygen code documentation) to the
# gh-pages branch.
Expand Down

0 comments on commit 06f1f94

Please sign in to comment.