diff --git a/cd.sh b/cd.sh index 541073d..ebd6604 100644 --- a/cd.sh +++ b/cd.sh @@ -42,7 +42,6 @@ fi && CD_PROJECT_NAME="$(basename "${GITHUB_REPOSITORY}")" if [ "${CD_PROJECT_NAME}" ] ; then echo "CD_PROJECT_NAME = ${CD_PROJECT_NAME}" - CD_PROJECT_URL="${CD_REPOSITORIES_URL}/${CD_PROJECT_NAME}" else echo 'CD_PROJECT_NAME' exit 3 @@ -68,6 +67,8 @@ else echo 'CD_REPOSITORIES_URL' exit 3 fi +# project / url +CD_PROJECT_URL="${CD_REPOSITORIES_URL}/${CD_PROJECT_NAME}" function cd_step { if [ "${1}" ] ; then