From 20bf743b13000dec971cfb7199ec03f9929c132b Mon Sep 17 00:00:00 2001 From: Oliver Kennedy Date: Fri, 8 Jan 2016 11:02:58 -0500 Subject: [PATCH] Force repo to be pushed when website is pushed --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index a32bd836..a2199606 100644 --- a/Makefile +++ b/Makefile @@ -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