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
|
.PHONY: deploy
|
||||||
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:
|
build:
|
||||||
rm -rf public/*
|
rm -rf public/*
|
||||||
hugo --logLevel debug
|
hugo --logLevel debug
|
||||||
|
|
||||||
|
.PHONY: serve
|
||||||
serve:
|
serve:
|
||||||
hugo server -D --bind "0.0.0.0" --navigateToChanged -p 2323
|
hugo server -D --bind "0.0.0.0" --navigateToChanged -p 2323
|
||||||
|
2
public
2
public
Submodule public updated: a43a27194c...13fd4d11f1
Submodule themes/mytheme updated: c93379bf7c...a27278651e
Reference in New Issue
Block a user