diff --git a/Makefile b/Makefile index 1159b64..b29e288 100644 --- a/Makefile +++ b/Makefile @@ -3,8 +3,20 @@ # Maxime “pep” Buquet, 2018-02-21 00:12 # +WEBROOT ?= "/var/www/bouah.net" + all: public +deploy: clean update drafts public + mv drafts public/_drafts + cp -rv $(WEBROOT)/specs $(WEBROOT)/files public/ + rm -rf $(WEBROOT) + mv public $(WEBROOT) + +update: + git pull -r + git submodule update + public: clean hugo --debug --destination public systemctl --user start blog-goaccess.service