Skip to content
This repository has been archived by the owner on Mar 7, 2022. It is now read-only.

Commit

Permalink
Fix removal git dir
Browse files Browse the repository at this point in the history
  • Loading branch information
lukassnoek committed Mar 7, 2017
1 parent c1dfbd0 commit 5e379db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/update_and_push_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ else
fi

git rm -rf .
/bin/rm -rf docs
find . -path ./.git -prune -o -exec rm -rf {} \; 2> /dev/null
tar xzf /tmp/html.tgz
git add .
git commit -m "Updating docs for $cbranch and pushing to origin & gh-pages branch"
git push origin gh-pages
fi
fi

0 comments on commit 5e379db

Please sign in to comment.