parent
8735362580
commit
6759e6a175
9
abra
9
abra
@ -261,7 +261,16 @@ sub_deploy (){
|
|||||||
|
|
||||||
echo "About to deploy:"
|
echo "About to deploy:"
|
||||||
echo " Context: $(tput setaf 4)${DOCKER_CONTEXT}$(tput sgr0)"
|
echo " Context: $(tput setaf 4)${DOCKER_CONTEXT}$(tput sgr0)"
|
||||||
|
if [ "${COMPOSE_FILE/:/}" == "${COMPOSE_FILE}" ]; then
|
||||||
echo " Compose: $(tput setaf 3)${ABRA_STACK_DIR}/${COMPOSE_FILE}$(tput sgr0)"
|
echo " Compose: $(tput setaf 3)${ABRA_STACK_DIR}/${COMPOSE_FILE}$(tput sgr0)"
|
||||||
|
else
|
||||||
|
echo " Compose: $(tput setaf 3)${ABRA_STACK_DIR}/"
|
||||||
|
IFS=':' read -ra COMPOSE_FILES <<< "$COMPOSE_FILE"
|
||||||
|
for COMPOSE in "${COMPOSE_FILES[@]}"; do
|
||||||
|
echo " - ${COMPOSE}"
|
||||||
|
done
|
||||||
|
tput sgr0
|
||||||
|
fi
|
||||||
if [ -n "$DOMAIN" ]; then
|
if [ -n "$DOMAIN" ]; then
|
||||||
echo " Domain: $(tput setaf 2)${DOMAIN}$(tput sgr0)"
|
echo " Domain: $(tput setaf 2)${DOMAIN}$(tput sgr0)"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user