Auto-commit 2024-12-06

This commit is contained in:
Александр Кирюхин 2024-12-06 19:55:44 +03:00
parent b783658d49
commit 889d16fe6b
Signed by: neonxp
SSH key fingerprint: SHA256:SVt7TjxbVc87m1QYaQziOJ0N3OCFURv2g76gD/UTTXI

View file

@ -1,10 +1,14 @@
.PHONY: deploy
serve:
hugo server --gc --noBuildLock
deploy:
git add .
git ci -m "Auto-commit $(shell date '+%Y-%m-%d')"
git push
hugo --gc && rsync -avz --delete public/ neonxp@neonxp.ru:/var/www/neonxp.ru
hugo --gc --noBuildLock
rsync -avz --delete public/ neonxp@192.168.50.30:/var/www/neonxp.ru
post:
hugo new content posts/$(shell date '+%Y-%m-%d')-$(name)/index.md
hugo new content posts/$(shell date '+%Y-%m-%d')-$(name)/index.md