1
0
Fork 0
blog.kempkens.io/Makefile

12 lines
303 B
Makefile
Raw Normal View History

2014-08-13 19:14:35 +00:00
all: compile upload
compile:
@echo "=== Generating static files"
@jekyll build
upload:
@echo "=== Syncing files"
2014-10-12 16:05:19 +00:00
@rsync -avz --no-o --no-g -e ssh --chmod=og=r -p --delete _site/ kempkens.io:/var/www/blog
2014-08-13 19:14:35 +00:00
@echo "=== Changing permissions"
2014-10-12 16:05:19 +00:00
@ssh kempkens.io chown -R www-data:www-data /var/www/blog