From 2c163652c0d5c6c209af8e63733fc32b6602f5f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Fri, 2 Jun 2023 10:48:36 +0200 Subject: [PATCH] Makefile: when deploying the website, avoid setting timestamps & owners The current setup on our webserver disallows setting timestamps or permissions on the root (of the website) directory, so `rsync -a` caused an error. `-a` is a synonym of `-rlptgoD`; the new options are that minus `-t` for setting times, `-o` and `-g` for setting file ownership (they should be owned by the uploading user), and `-p` for setting permissions. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5da19a06..32ce915b 100644 --- a/Makefile +++ b/Makefile @@ -233,7 +233,7 @@ project-website: cd web/project-website; hugo --baseURL https://flamenco.blender.org/ rsync web/project-website/public/ ${WEBSERVER_SSH}:${WEBSERVER_ROOT}/ \ -e "ssh" \ - -a \ + -rl \ --exclude v2/ \ --exclude downloads/ \ --exclude .well-known/ \