1
0
Fork 0
blog.kempkens.io/Makefile
2014-12-07 19:46:48 +01:00

12 lines
325 B
Makefile

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