1
0
Fork 0
blog.kempkens.io/Makefile
2014-11-30 21:47:18 +01:00

11 lines
311 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.io:/home/webapps/blog
@echo "=== Changing permissions"
@ssh kempkens.io chown -R webapps:webapps /home/webapps/blog