From 5f7cf7242660f51dd2eb0436bbea9070dd3066b0 Mon Sep 17 00:00:00 2001 From: The Magician Date: Sat, 2 Dec 2023 17:23:37 +0000 Subject: [PATCH] Fix publish task --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 804943b..0f4f929 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,5 @@ serve: python -m http.server publish: - rsync -r * themagician.cc:/usr/share/nginx/html/www/ + rsync --delete --recursive * root@themagician.cc:/usr/share/nginx/html/www/ + ssh root@themagician.cc 'chown -R www:www /usr/share/nginx/html/www/'