Commit cfb85295 authored by Kenton Varda's avatar Kenton Varda

Tweak push script.

parent 0532363b
......@@ -7,6 +7,8 @@ if [ "x$(git status --porcelain)" != "x" ]; then
exit 1
fi
echo "Checking out doc branch in ./.gh-pages..."
if [ ! -e .gh-pages ]; then
git clone -b gh-pages https://github.com/kentonv/capnproto.git .gh-pages
cd .gh-pages
......@@ -22,7 +24,7 @@ fi
cd ..
exit 0
echo "Regenerating site..."
rm -rf _site .gh-pages/*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment