diff options
-rw-r--r-- | Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -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
\ No newline at end of file + hugo new content posts/$(shell date '+%Y-%m-%d')-$(name)/index.md |