From 64496f1f6691536afe578025cdbd86703115ed83 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Tue, 9 Feb 2021 19:42:45 -0300 Subject: Move rsync to Makefile This deprecates defaut.nix. --- Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 1870865..388efaf 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,3 @@ -.PHONY: check check: sh aux/assert-shellcheck.sh sh aux/workflow/assert-todos.sh @@ -6,7 +5,6 @@ check: sh scripts/extract-translations.sh sh scripts/apply-translations.sh -.PHONY: clean clean: rm -rf public/ _site/ @@ -15,7 +13,11 @@ NAME = $(NAME_UC) MAILING_LIST = public-inbox OUT = public -.PHONY: public public: JEKYLL_ENV=production jekyll build -d $(OUT) --trace sh aux/workflow/TODOs.sh $(NAME_UC) $(NAME) $(MAILING_LIST) + +publish: public + rsync -avzP public/ euandre.org:/home/user-data/www/default/ --delete + +.PHONY: clean check -- cgit v1.2.3