with remove deployments

This commit is contained in:
Kasper Juul Hermansen 2022-08-14 20:14:51 +02:00
parent 88ef310a9a
commit 97fd7fe448
Signed by: kjuulh
GPG Key ID: 0F95C140730F2F23

View File

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