aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 04246d3c7c7adc61e1aa474ae2dcd87b943eceff (plain) (blame)
1
2
3
4
5
6
7
8
9
10
.PHONY: deploy

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
	
post:
	hugo new content posts/$(shell date '+%Y-%m-%d')-$(name)/index.md