clone before aborting...
This commit is contained in:
parent
280a9786ec
commit
1d259f9c5f
@ -8,9 +8,8 @@ tag="$REGISTRY/$SERVICE:${COMMIT_SHA:0:10}"
|
||||
|
||||
echo "pulling deployments repo"
|
||||
|
||||
[ ! -d _deployments ] && echo "deployments could not be cloned aborting" && exit 1
|
||||
|
||||
git clone "$DEPLOYMENTS" _deployments
|
||||
[ ! -d _deployments ] && echo "deployments could not be cloned aborting" && exit 1
|
||||
|
||||
mkdir -p "_deployments/$SERVICE"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user