Update theme and new make targets
This commit is contained in:
9
Makefile
9
Makefile
@ -1,10 +1,17 @@
|
||||
.PHONY: pulltheme
|
||||
pulltheme:
|
||||
git -C themes/mytheme pull
|
||||
|
||||
.PHONY: deploy
|
||||
deploy:
|
||||
rsync -av public desk:/var/www/balki.me
|
||||
git -C public push
|
||||
ssh desk git -C /var/www/balki.me/public pull
|
||||
|
||||
.PHONY: build
|
||||
build:
|
||||
rm -rf public/*
|
||||
hugo --logLevel debug
|
||||
|
||||
.PHONY: serve
|
||||
serve:
|
||||
hugo server -D --bind "0.0.0.0" --navigateToChanged -p 2323
|
||||
|
Reference in New Issue
Block a user