aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Neonxp Kiryukhin <i@neonxp.ru>2024-12-06 19:55:44 +0300
committerAlexander Neonxp Kiryukhin <i@neonxp.ru>2024-12-06 19:55:44 +0300
commit889d16fe6bb8e67251766bebe436bf5394e39f8b (patch)
tree21dfcdabb789f997b7360cba2fd3166c2aa9d1c3
parentb783658d49d9ec4c122bc0ecf31cb9dbaaa30ffb (diff)
Auto-commit 2024-12-06
-rw-r--r--Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 04246d3..911adf8 100644
--- a/Makefile
+++ b/Makefile
@@ -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