1
0
Fork 0

Update Makefile

This commit is contained in:
Daniel Kempkens 2014-12-07 19:46:48 +01:00
parent 2f087d01a9
commit cb2684197f

View file

@ -2,10 +2,10 @@ all: compile upload
compile:
@echo "=== Generating static files"
@jekyll build
@bundle exec jekyll build
upload:
@echo "=== Syncing files"
@rsync -avz --no-o --no-g -e ssh --chmod=og=r -p --delete _site/ kempkens.io:/home/webapps/blog
@rsync -avz --no-o --no-g -e ssh --chmod=og=r -p --delete _site/ webserver.kempkens.io:/var/www/blog
@echo "=== Changing permissions"
@ssh kempkens.io chown -R webapps:webapps /home/webapps/blog
@ssh webserver.kempkens.io chown -R www:www /var/www/blog