From 30faaa3138223c845b68665bcfdad8dfbff1a258 Mon Sep 17 00:00:00 2001 From: "Johnny @PC" Date: Tue, 24 Feb 2015 19:30:02 +0100 Subject: [PATCH] Last changes to push-ghpages.sh --- push-ghpages.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/push-ghpages.sh b/push-ghpages.sh index 1e678c62..cdb308f6 100644 --- a/push-ghpages.sh +++ b/push-ghpages.sh @@ -8,10 +8,10 @@ git config --global user.name "Travis-CI" git clone --quiet --branch=gh-pages https://${GH_TOKEN}@github.com/JohnnyCrazy/SpotifyAPI-NET gh-pages > /dev/null cd gh-pages -git rm -rf ./ -cp -Rf ../../site ./ +git rm -rf ./ 2> /dev/null +cp -Rf ../../site/* ./ git add -f . -git commit -m "Automatic built mkdocs | $TRAVIS_BUILD_NUMBER pushed" +git commit -m "Automatic built mkdocs | Travis Build $TRAVIS_BUILD_NUMBER pushed" git push -fq origin gh-pages > /dev/null echo -e "Done" \ No newline at end of file