github.io/Makefile
Sivert V. Sæther d64efb5fb4 Hugo go go go
Made a hugo setup from scratch to generate a static blog and portfolio webpage.
The old stuff may still be found in static/old.
2022-03-29 23:00:36 +00:00

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