1 2 3 4 5 6 7
.PHONY: deploy deploy: hugo --gc && rsync -avz --delete public/ neonxp@neonxp.ru:/var/www/neonxp.ru post: hugo new content posts/$(shell date '+%Y-%m-%d')-$(name)/index.md