From 6a6ffb79aaa3b6fc16c0a6a33bb52093325c526c Mon Sep 17 00:00:00 2001 From: Tim Van Baak Date: Tue, 23 Jan 2024 22:08:27 -0800 Subject: [PATCH] Add clean steps to make upload --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 46fa1e3..21f607e 100644 --- a/Makefile +++ b/Makefile @@ -18,6 +18,8 @@ pubdate: sed -i "s/pubdate: now/pubdate: $$(date -Isec)/" src/blog/**/*.md upload: + test -e srv && rm -rf srv || true ./build.py srv/ pagefind --site srv/ - rsync -av srv/* ssh.alogoulogoi.com:/srv/www.alogoulogoi.com \ No newline at end of file + ssh ssh.alogoulogoi.com rm -r /srv/www.alogoulogoi.com/* + rsync -av srv/* ssh.alogoulogoi.com:/srv/www.alogoulogoi.com