fix(website/install): remove old files before git clone
This commit is contained in:
parent
f8295b6045
commit
cf998be24c
|
@ -17,7 +17,10 @@ else
|
|||
--comment "Deno js engine" \
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue