with &&
This commit is contained in:
parent
97fd7fe448
commit
8c8441a692
@ -8,7 +8,7 @@ tag="$REGISTRY/$SERVICE:${COMMIT_SHA:0:10}"
|
||||
|
||||
echo "pulling deployments repo"
|
||||
|
||||
[ -d _deployments ] rm -r _deployments
|
||||
[ -d _deployments ] && rm -r _deployments
|
||||
|
||||
git clone "$DEPLOYMENTS" _deployments
|
||||
[ ! -d _deployments ] && echo "deployments could not be cloned aborting" && exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user