Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 21 lines (15 sloc) 378 Bytes
echo -e "\033[0;32mDeploying updates to Github...\033[0m"
# Build the project.
# Add changes to git.
git add -A
# Commit changes.
msg="rebuilding site `date`"
if [ $# -eq 1 ]
then msg="$1"
git commit -m "$msg"
# Push source and build repos.
git push origin master
git subtree push --prefix=public gh-pages