hugo-page/Makefile

26 lines
410 B
Makefile
Raw Permalink Normal View History

HUGO_PARAMS =
DEV_PARAMS = -D
2023-01-21 19:30:30 +00:00
all:
build:
hugo ${HUGO_PARAMS} --minify
dev:
hugo ${HUGO_PARAMS} ${DEV_PARAMS}
server:
hugo server ${HUGO_PARAMS}
dev-server:
hugo server ${HUGO_PARAMS} ${DEV_PARAMS}
2023-01-21 19:30:30 +00:00
tarball: build
tar czf page.tar.gz -C public .
.PHONY: tarball build
sync-to-stage:
rsync -ahPv --delete --delete-delay --info=progress2 public/ christian@hh.wolf-stuttgart.net:/srv/http/tsc/hugo/