1
0
Fork 0
blog.kempkens.io/Makefile
Daniel Kempkens eb81dac29d Add Makefile
2014-08-13 21:14:35 +02:00

11 lines
297 B
Makefile

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