Files
mziesel.nl/Makefile
Mans Ziesel 5a48737027
Some checks failed
/ deploy (push) Failing after 8s
ci test
2026-01-24 17:05:24 +01:00

26 lines
554 B
Makefile

.PHONY: help build dev deploy clean
# Default target
help:
@echo "Available targets:"
@echo " make dev - Start Hugo development server with drafts"
@echo " make build - Build the site for production"
@echo " make deploy - Build and deploy using hugo deploy"
@echo " make clean - Remove generated files"
# Development server with live reload
dev:
hugo server -D --bind 0.0.0.0
# Build the site
build:
hugo --minify
# Deploy to configured target
deploy: build
hugo deploy
# Clean build artifacts
clean:
rm -rf public/ resources/