c3re-website/Makefile

19 lines
374 B
Makefile
Raw Normal View History

2024-01-26 21:07:44 +01:00
.PHONY: build clean release deploy_test
2024-01-18 14:33:52 +01:00
BASEURL ?= https://c3re.de
2024-01-18 14:33:52 +01:00
2024-01-26 21:07:44 +01:00
release: build
2024-01-18 14:33:52 +01:00
build: clean
hugo --gc --minify --cleanDestinationDir -b "${BASEURL}" --enableGitInfo --panicOnWarning
2024-01-18 14:33:52 +01:00
clean:
rm -rf public dist
dist:
mkdir dist
deploy_test:
2024-01-19 10:52:25 +01:00
$(MAKE) BASEURL=https://c3retest.shnbk.de release
2024-01-26 21:07:44 +01:00
rsync -rv --delete public/* shnbk.de:domains/c3retest.shnbk.de/htdocs