From 6217ffe5f87f15a364a903178d7aba4aafaff7e4 Mon Sep 17 00:00:00 2001 From: Tim Van Baak Date: Sun, 4 Feb 2024 19:44:46 -0800 Subject: [PATCH] Do incremental uploads correctly --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 21f607e..5e057f0 100644 --- a/Makefile +++ b/Makefile @@ -21,5 +21,4 @@ upload: test -e srv && rm -rf srv || true ./build.py srv/ pagefind --site srv/ - ssh ssh.alogoulogoi.com rm -r /srv/www.alogoulogoi.com/* - rsync -av srv/* ssh.alogoulogoi.com:/srv/www.alogoulogoi.com + rsync -av --delete srv/ ssh.alogoulogoi.com:/srv/www.alogoulogoi.com