build-website: leave gitignore alone

This commit is contained in:
Sergey Shepelev
2015-04-09 16:54:16 +03:00
parent bc0a59f8ef
commit d52881301e

View File

@@ -57,7 +57,7 @@ if [ $commit -eq 1 ]; then
source_id=`git rev-parse --short HEAD`
git branch --track gh-pages origin/gh-pages || true
git checkout gh-pages
git ls-files -z |xargs -0 rm -f
git ls-files |grep -Ev '^.gitignore$' |xargs rm -f
rm -rf "doc"
mv "$build"/* ./