From 5736d00485e40ec9ebe28118dc8f1b2629183343 Mon Sep 17 00:00:00 2001 From: Reimar Date: Thu, 20 Mar 2025 10:07:31 +0100 Subject: [PATCH] Fix deploy script not deleting files --- deploy.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/deploy.sh b/deploy.sh index fbe12ea..441cf66 100644 --- a/deploy.sh +++ b/deploy.sh @@ -6,6 +6,7 @@ BASEPATH=/home/developers/temperature-alarm git -C $BASEPATH pull # Update frontend +rm -r /var/www/html/* cp $BASEPATH/frontend/* -r /var/www/html chown www-data:www-data -R /var/www/html