parent
01af7b368f
commit
e644fd571c
1 changed files with 2 additions and 1 deletions
3
cd.sh
3
cd.sh
|
@ -42,7 +42,6 @@ fi
|
||||||
&& CD_PROJECT_NAME="$(basename "${GITHUB_REPOSITORY}")"
|
&& CD_PROJECT_NAME="$(basename "${GITHUB_REPOSITORY}")"
|
||||||
if [ "${CD_PROJECT_NAME}" ] ; then
|
if [ "${CD_PROJECT_NAME}" ] ; then
|
||||||
echo "CD_PROJECT_NAME = ${CD_PROJECT_NAME}"
|
echo "CD_PROJECT_NAME = ${CD_PROJECT_NAME}"
|
||||||
CD_PROJECT_URL="${CD_REPOSITORIES_URL}/${CD_PROJECT_NAME}"
|
|
||||||
else
|
else
|
||||||
echo 'CD_PROJECT_NAME'
|
echo 'CD_PROJECT_NAME'
|
||||||
exit 3
|
exit 3
|
||||||
|
@ -68,6 +67,8 @@ else
|
||||||
echo 'CD_REPOSITORIES_URL'
|
echo 'CD_REPOSITORIES_URL'
|
||||||
exit 3
|
exit 3
|
||||||
fi
|
fi
|
||||||
|
# project / url
|
||||||
|
CD_PROJECT_URL="${CD_REPOSITORIES_URL}/${CD_PROJECT_NAME}"
|
||||||
|
|
||||||
function cd_step {
|
function cd_step {
|
||||||
if [ "${1}" ] ; then
|
if [ "${1}" ] ; then
|
||||||
|
|
Loading…
Reference in a new issue