Fix deploy script not deleting files

This commit is contained in:
Reimar 2025-03-20 10:07:31 +01:00
parent f1f5a45232
commit 5736d00485
Signed by: Reimar
GPG Key ID: 93549FA07F0AE268

View File

@ -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