@ -45,10 +45,10 @@ if [[ ($# == "--help") || $# == "-h" ]]; then
fi
if[ -z "$CD_DEPLOY_SCRIPT"];then
echo"Script for deployment is not defined, it has to be defined as an ENV variable. [e.g. CD_DEPLOY_SCRIPT=https://example.com/scripts/deploy.sh]"
echo"#### Script for deployment is not defined, it has to be defined as an ENV variable. [e.g. CD_DEPLOY_SCRIPT=https://example.com/scripts/deploy.sh]"
exit0
fi
echo"Script for deployment: $CD_DEPLOY_SCRIPT"
echo"#### Script for deployment: $CD_DEPLOY_SCRIPT"
exportCD_REF_SLUG=$1
exportCD_REF_NAME=$2
@ -56,20 +56,25 @@ export CD_COMMIT_SHA=$3
exportCD_COMMIT_BEFORE_SHA=$4
if[ -z $CD_REF_SLUG];then
echo"Repository not included, it should have been passed as an argument. [e.g. bigbluebutton/greenlight]"
echo"#### Repository not included, it should have been passed as an argument. [e.g. bigbluebutton/greenlight]"
exit0
fi
if[ -z $CD_REF_NAME];then
echo"Neither branch nor tag were included, the name should have been passed as an argument. [e.g. master|release-2.0.5]"
echo"#### Neither branch nor tag were included, the name should have been passed as an argument. [e.g. master|release-2.0.5]"