1
0
Fork 0
blog.kempkens.io/Makefile

12 lines
325 B
Makefile
Raw Normal View History

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