10 lines
No EOL
248 B
Makefile
10 lines
No EOL
248 B
Makefile
.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
|