blog/Makefile

10 lines
248 B
Makefile
Raw Normal View History

2024-11-10 00:04:43 +03:00
.PHONY: deploy
deploy:
2024-11-29 18:07:43 +03:00
git add .
2024-11-29 18:08:28 +03:00
git ci -m "Auto-commit $(shell date '+%Y-%m-%d')"
2024-11-29 18:07:43 +03:00
git push
2024-11-10 00:04:43 +03:00
hugo --gc && rsync -avz --delete public/ neonxp@neonxp.ru:/var/www/neonxp.ru
2024-11-28 00:46:17 +03:00
post:
hugo new content posts/$(shell date '+%Y-%m-%d')-$(name)/index.md