hugo-page/Makefile

29 lines
574 B
Makefile
Raw Permalink Normal View History

HUGO_PARAMS =
DEV_PARAMS = -D
SERVER_PARAMS = --bind 0.0.0.0
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} ${SERVER_PARAMS}
dev-server:
hugo server ${HUGO_PARAMS} ${SERVER_PARAMS} ${DEV_PARAMS}
2023-01-21 19:30:30 +00:00
tarball: build
tar czf page.tar.gz -C public .
.PHONY: tarball build
2024-01-18 19:14:54 +00:00
trigger-sync-to-stage:
ssh tsc-homepage@hh.wolf-stuttgart.net
2024-01-18 19:14:54 +00:00
sync-to-stage-manual:
rsync -ahPv --delete --delete-delay --info=progress2 --chown tsc-homepage:tsc-homepage public/ root@hh.wolf-stuttgart.net:/srv/http/tsc/hugo/