mv
Some checks failed
/ job (push) Failing after 6s

This commit is contained in:
Marc Beninca 2024-04-27 01:55:10 +02:00
parent 01af7b368f
commit e644fd571c
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

3
cd.sh
View file

@ -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