Created
January 27, 2010 17:12
-
-
Save oremj/288014 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
DATE=$(date "+%Y/%m/%d %M:%H:%S") | |
AMO_PYTHON_ROOT=/data/amo_python | |
cd $AMO_PYTHON_ROOT; | |
pushd src/preview/zamboni | |
git pull -q origin master | |
popd | |
/usr/bin/rsync -aq --exclude '.git*' --delete src/preview/ www/preview/ | |
pushd www | |
git add . | |
git commit -q -a -m "Push AMO python: $DATE" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment