summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtools/docs-push-gh-pages2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/docs-push-gh-pages b/tools/docs-push-gh-pages
index 4d07dbd..a633087 100755
--- a/tools/docs-push-gh-pages
+++ b/tools/docs-push-gh-pages
@@ -3,7 +3,7 @@ set -e
./docs-generate
cd ..
-git checkout gh-pages
+git checkout --track origin/gh-pages
find . -maxdepth 1 -not -name "docs" -not -name ".git" -not -name "tools" -print0 | xargs -0 rm -r || true
mv docs/* .
mv docs/.nojekyll .