with force

This commit is contained in:
Kasper Juul Hermansen 2022-08-14 20:15:48 +02:00
parent 8c8441a692
commit f3cc872a86
Signed by: kjuulh
GPG Key ID: 0F95C140730F2F23

View File

@ -8,7 +8,7 @@ tag="$REGISTRY/$SERVICE:${COMMIT_SHA:0:10}"
echo "pulling deployments repo" echo "pulling deployments repo"
[ -d _deployments ] && rm -r _deployments [ -d _deployments ] && rm -rf _deployments
git clone "$DEPLOYMENTS" _deployments git clone "$DEPLOYMENTS" _deployments
[ ! -d _deployments ] && echo "deployments could not be cloned aborting" && exit 1 [ ! -d _deployments ] && echo "deployments could not be cloned aborting" && exit 1