aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-02-09 19:42:45 -0300
committerEuAndreh <eu@euandre.org>2021-02-09 19:43:49 -0300
commit64496f1f6691536afe578025cdbd86703115ed83 (patch)
tree2599a97c7377b52a3bd77a3b5d6a9cd2ec155172 /Makefile
parentAlso mark x-bindgen as archived (diff)
downloadeuandre.org-64496f1f6691536afe578025cdbd86703115ed83.tar.gz
euandre.org-64496f1f6691536afe578025cdbd86703115ed83.tar.xz
Move rsync to Makefile
This deprecates defaut.nix.
Diffstat (limited to '')
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
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