From 97fd7fe44845bf89d2ccc02c4909744ca2f6fed0 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Sun, 14 Aug 2022 20:14:51 +0200 Subject: [PATCH] with remove deployments --- scripts/deploy_release.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/deploy_release.sh b/scripts/deploy_release.sh index 2464a1e..f712e1a 100755 --- a/scripts/deploy_release.sh +++ b/scripts/deploy_release.sh @@ -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