Update Makefile
This commit is contained in:
parent
2f087d01a9
commit
cb2684197f
1 changed files with 3 additions and 3 deletions
6
Makefile
6
Makefile
|
@ -2,10 +2,10 @@ all: compile upload
|
||||||
|
|
||||||
compile:
|
compile:
|
||||||
@echo "=== Generating static files"
|
@echo "=== Generating static files"
|
||||||
@jekyll build
|
@bundle exec jekyll build
|
||||||
|
|
||||||
upload:
|
upload:
|
||||||
@echo "=== Syncing files"
|
@echo "=== Syncing files"
|
||||||
@rsync -avz --no-o --no-g -e ssh --chmod=og=r -p --delete _site/ kempkens.io:/home/webapps/blog
|
@rsync -avz --no-o --no-g -e ssh --chmod=og=r -p --delete _site/ webserver.kempkens.io:/var/www/blog
|
||||||
@echo "=== Changing permissions"
|
@echo "=== Changing permissions"
|
||||||
@ssh kempkens.io chown -R webapps:webapps /home/webapps/blog
|
@ssh webserver.kempkens.io chown -R www:www /var/www/blog
|
||||||
|
|
Loading…
Reference in a new issue