From 4bfced411cee2e707613f00fef7a21512509de2a Mon Sep 17 00:00:00 2001 From: Justin Hsu Date: Wed, 29 Mar 2023 23:08:57 -0400 Subject: [PATCH] Update archive target. --- website/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/website/Makefile b/website/Makefile index 7942597..a640e54 100644 --- a/website/Makefile +++ b/website/Makefile @@ -1,7 +1,8 @@ DEPLOY_HOST=wisc -ARCHIVE_HOST=jackknife DEPLOY=/u/j/u/justhsu/public/html-s/teaching/current/cs763 -ARCHIVE=/home/justhsu/teaching/f20/cs763 + +ARCHIVE_HOST=jackfruit +ARCHIVE=/var/www/html/teaching/f20/cs763 build: make assets && mkdocs build @@ -27,4 +28,5 @@ archive: make build find . -type d -exec chmod a+rx {} \; find . -type f -exec chmod a+r {} \; - rsync -avzp --relative $(ARCHIVE) -e ssh ./site/ $(ARCHIVE_HOST) + ssh $(ARCHIVE_HOST) mkdir -p $(ARCHIVE) + rsync -avzp --delete -e ssh ./site/ $(ARCHIVE_HOST):$(ARCHIVE)