Last changes to push-ghpages.sh

This commit is contained in:
Johnny @PC 2015-02-24 19:30:02 +01:00
parent ec192526d5
commit 30faaa3138

View File

@ -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"