Fix deploy script not deleting files
This commit is contained in:
parent
f1f5a45232
commit
5736d00485
@ -6,6 +6,7 @@ BASEPATH=/home/developers/temperature-alarm
|
|||||||
git -C $BASEPATH pull
|
git -C $BASEPATH pull
|
||||||
|
|
||||||
# Update frontend
|
# Update frontend
|
||||||
|
rm -r /var/www/html/*
|
||||||
cp $BASEPATH/frontend/* -r /var/www/html
|
cp $BASEPATH/frontend/* -r /var/www/html
|
||||||
chown www-data:www-data -R /var/www/html
|
chown www-data:www-data -R /var/www/html
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user