forked from cohabit/server_config
fix(portfolio_server): remove old files before cloning sources
This commit is contained in:
parent
142064f9fc
commit
67f80dca18
|
@ -17,7 +17,10 @@ else
|
|||
--comment "Deno js engine" \
|
||||
deno
|
||||
fi
|
||||
|
||||
# Clone website repo
|
||||
|
||||
# Create fs tree is missing
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue