From 51deccd4d0f15d81695dfa2f8aacfcee3bcce985 Mon Sep 17 00:00:00 2001 From: Lectem Date: Sat, 21 Mar 2015 15:47:06 +0100 Subject: [PATCH] fixed docs clean order --- exportdoc.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/exportdoc.sh b/exportdoc.sh index 7d4942a..0880dd1 100644 --- a/exportdoc.sh +++ b/exportdoc.sh @@ -2,9 +2,12 @@ if [ "$TRAVIS_REPO_SLUG" = "Lectem/ctrulib" ] && [ "$TRAVIS_PULL_REQUEST" = "false" ] && [ "$TRAVIS_BRANCH" = "master" ]; then sudo apt-get install -qq doxygen git clone --branch=gh-pages --single-branch --depth 1 https://${GH_TOKEN}@github.com/Lectem/ctrulib docs -doxygen libctru/Doxyfile cd docs git rm -rf ./* +cd .. +doxygen libctru/Doxyfile +cd docs +mv ./html/* . git add --all git commit -m"Doc generated from Travis build #$TRAVIS_BUILD_NUMBER" git push -f origin gh-pages