Sivert V. Sæther
d64efb5fb4
Made a hugo setup from scratch to generate a static blog and portfolio webpage. The old stuff may still be found in static/old.
16 lines
208 B
Makefile
16 lines
208 B
Makefile
HUGO := hugo
|
|
|
|
.PHONY: publish build create
|
|
|
|
publish: build
|
|
git add public/
|
|
git commit -m'public/ autocommit'
|
|
git push
|
|
|
|
build:
|
|
rm -fr public/
|
|
$(HUGO) --gc --minify
|
|
|
|
create:
|
|
$(HUGO) server --bind 0.0.0.0
|