fix(website/install): remove old files before git clone

This commit is contained in:
Julien Oculi 2024-07-11 14:28:23 +02:00
parent f8295b6045
commit cf998be24c

View file

@ -18,6 +18,9 @@ else
deno
fi
# Clone website repo
# Remove old existing files
rm -rf /srv/www
# Create fs structure
mkdir -p /srv/www
# Clone website repo
git clone -b main --depth 1 https://git.cohabit.fr/cohabit/website.git /srv/www