blob: 5ef99927a881b45bd08717526501724a78fe22ba [file] [log] [blame]
set -e
cd site
jekyll build -d ../content_tmp
COMMIT_HASH=`git rev-parse HEAD`
cd ..
git checkout asf-site
rm -rf content
mv content_tmp content
git add content
echo "Committing changes to asf-site branch from master branch"
git commit -m "from $COMMIT_HASH"
echo "You are now on the asf-site branch"
echo "Run git push origin asf-site to update the live site."
set +e