Force repo to be pushed when website is pushed

pull/1/head
Oliver Kennedy 2016-01-08 11:02:58 -05:00
parent aa8aecc9aa
commit 20bf743b13
1 changed files with 5 additions and 0 deletions

View File

@ -20,7 +20,12 @@ fetch:
fi
push: fetch all
@echo "Cleaning up OSX Crap"
find . -name .DS_Store | xargs rm
@echo "Making sure that you've pushed the repo"
git add .
git commit
@echo "Actually uploading the site"
rsync -avz -e ssh --safe-links --progress site/ gram:/var/www/static/
open: all