11 lines
325 B
Makefile
11 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
|