Skip to content

Instantly share code, notes, and snippets.

@Pistos
Created June 4, 2012 16:08
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save Pistos/3ce968f3e9cdd55fa144 to your computer and use it in GitHub Desktop.
#!/bin/bash
set -e
date >> /tmp/gitolite.log
echo $USER >> /tmp/gitolite.log
cd /home/git/libertree-issues
git fetch origin
echo '1' >> /tmp/gitolite.log
git merge --ff-only origin/master
echo '2' >> /tmp/gitolite.log
PYTHONPATH=/home/git/usr/lib/python2.6/site-packages /home/git/usr/bin/be html -o /var/www/issues.libertreeproject.org/
echo '3' >> /tmp/gitolite.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment