fix(website/install): remove old files before git clone
This commit is contained in:
parent
f8295b6045
commit
cf998be24c
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue