2024-11-10 00:04:43 +03:00
|
|
|
.PHONY: deploy
|
|
|
|
|
|
|
|
deploy:
|
2024-11-29 18:07:43 +03:00
|
|
|
git add .
|
|
|
|
git ci -m "UPD $(shell date '+%Y-%m-%d')"
|
|
|
|
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:
|
2024-11-29 18:06:57 +03:00
|
|
|
hugo new content posts/$(shell date '+%Y-%m-%d')-$(name)/index.md
|