Permalink
Browse files

Optimized the updating of the working examples

  • Loading branch information...
LaurentGoderre committed Feb 5, 2013
1 parent ba90106 commit 4221df0b205bcbfaa67c6a74e92a0b1abf66f5b8
Showing with 1 addition and 6 deletions.
  1. +1 −6 build/post_build.sh
View
@@ -25,12 +25,7 @@ if [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_REPO_SLUG" == "wet-boew/
if [ "$TRAVIS_BRANCH" == "master" ]; then
echo -e "Updating working examples...\n"
git add -f dist/.
git stash
git checkout gh-pages
git rebase --committer-date-is-author-date master
git rm -r dist/.
git stash pop
git checkout -B gh-pages
git add -f dist/.
git commit -m "Travis build $TRAVIS_BUILD_NUMBER pushed to gh-pages"
git push -fq upstream gh-pages > /dev/null

0 comments on commit 4221df0

Please sign in to comment.