Auto-commit 2024-12-06
This commit is contained in:
parent
b783658d49
commit
889d16fe6b
1 changed files with 7 additions and 3 deletions
6
Makefile
6
Makefile
|
@ -1,10 +1,14 @@
|
||||||
.PHONY: deploy
|
.PHONY: deploy
|
||||||
|
|
||||||
|
serve:
|
||||||
|
hugo server --gc --noBuildLock
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
git add .
|
git add .
|
||||||
git ci -m "Auto-commit $(shell date '+%Y-%m-%d')"
|
git ci -m "Auto-commit $(shell date '+%Y-%m-%d')"
|
||||||
git push
|
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:
|
post:
|
||||||
hugo new content posts/$(shell date '+%Y-%m-%d')-$(name)/index.md
|
hugo new content posts/$(shell date '+%Y-%m-%d')-$(name)/index.md
|
Loading…
Reference in a new issue