clone before aborting...

This commit is contained in:
Kasper Juul Hermansen 2022-08-14 17:30:46 +02:00
parent 280a9786ec
commit 1d259f9c5f
Signed by: kjuulh
GPG Key ID: 0F95C140730F2F23

View File

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