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

This commit is contained in:
Marc Beninca 2024-04-27 17:40:52 +02:00
parent 12d8ae4269
commit 9b4f908513
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

4
cd.sh
View file

@ -75,7 +75,7 @@ function cd_set_environment {
[ "${CI_SERVER_URL}" ] && CD_PROJECTS_URL="${CI_SERVER_URL}"
[ "${GITHUB_SERVER_URL}" ] && CD_PROJECTS_URL="${GITHUB_SERVER_URL}"
if [ "${CD_PROJECTS_URL}" ] ; then
CD_PROJECTS_URL+="/${CD_PROJECTS_GROUP}"
CD_PROJECTS_URL="${CD_PROJECTS_URL}/${CD_PROJECTS_GROUP}"
else
echo 'CD_PROJECTS_URL'
exit 3
@ -124,7 +124,7 @@ local server
local text=''
cd_step "${FUNCNAME}"
for server in "${@}" ; do
text+="nameserver ${server}
text="${text}nameserver ${server}
"
done
cd_write "${CD_DNS_FILE}" "${text}"