blob: 911adf862681692782ff3822ce3eb05d0de8f567 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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 --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
|