Give spacing to blocks
This commit is contained in:
parent
bb30fa28da
commit
dfd7e29a30
5
abra
5
abra
@ -906,7 +906,9 @@ sub_app_deploy (){
|
||||
else
|
||||
echo "About to deploy:"
|
||||
fi
|
||||
|
||||
echo " Server: $(tput setaf 4)${SERVER}$(tput sgr0)"
|
||||
|
||||
if [ "${COMPOSE_FILE/:/}" == "${COMPOSE_FILE}" ]; then
|
||||
echo " Compose: $(tput setaf 3)${APP_DIR}/${COMPOSE_FILE}$(tput sgr0)"
|
||||
else
|
||||
@ -917,9 +919,11 @@ sub_app_deploy (){
|
||||
done
|
||||
tput sgr0
|
||||
fi
|
||||
|
||||
if [ -n "$DOMAIN" ]; then
|
||||
echo " Domain: $(tput setaf 2)${DOMAIN}$(tput sgr0)"
|
||||
fi
|
||||
|
||||
if [ -n "$ABRA_TYPE_VERSION" ] && [ -n "$ABRA_TYPE_DIGEST" ]; then
|
||||
if [ "$ABRA_TYPE_VERSION" != "$deployed_version" ]; then
|
||||
echo " Version: $(tput setaf 2)$deployed_version -> ${ABRA_TYPE_VERSION} (digest: $deployed_digest -> ${ABRA_TYPE_DIGEST})$(tput sgr0)"
|
||||
@ -927,6 +931,7 @@ sub_app_deploy (){
|
||||
echo " Version: $(tput setaf 2)${ABRA_TYPE_VERSION} (digest: ${ABRA_TYPE_DIGEST})$(tput sgr0)"
|
||||
fi
|
||||
fi
|
||||
|
||||
echo " Stack: $(tput setaf 1)${STACK_NAME}$(tput sgr0)"
|
||||
|
||||
prompt_confirm
|
||||
|
Reference in New Issue
Block a user