aboutsummaryrefslogblamecommitdiff
path: root/Makefile
blob: a26dfc45abb36569c44d950deac7bbd2cd7b5cee (plain) (tree)
1
2
3
4
5
6
7
8
9

              


                                      
       
                 
                                                         
                

                              
                               
                                                                       
 
     
                                                                         
.PHONY: deploy

serve:
	hugo server --gc --noBuildLock

deploy:
	git add .
	git ci -m "Auto-commit $(shell date '+%Y-%m-%d')"
	git push
	rm -rf public
	python3 create_adoc.py
	hugo --gc --noBuildLock
	rsync -avz --delete public/ neonxp@neonxp.ru:/var/www/neonxp.ru

post:
	hugo new content posts/$(shell date '+%Y-%m-%d')-$(name)/index.md