fix(portfolio_server): remove old files before cloning sources
This commit is contained in:
parent
142064f9fc
commit
67f80dca18
|
@ -18,6 +18,9 @@ else
|
||||||
deno
|
deno
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Clone website repo
|
# Create fs tree is missing
|
||||||
mkdir -p /srv/portfolio
|
mkdir -p /srv/portfolio
|
||||||
|
# Remove old files if exists
|
||||||
|
rm -rf /srv/portfolio/*
|
||||||
|
# Clone website repo
|
||||||
git clone -b main --depth 1 https://git.cohabit.fr/cohabit/portfolio_server.git /srv/portfolio
|
git clone -b main --depth 1 https://git.cohabit.fr/cohabit/portfolio_server.git /srv/portfolio
|
||||||
|
|
Loading…
Reference in a new issue