This commit is contained in:
Marc Beninca 2024-07-22 11:58:37 +02:00
parent b291a4d684
commit f9e7c0f831
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -66,7 +66,8 @@ spcd_set_environment_variables() {
SPCD_PROJECT_ROOT="$(dirname "${GITHUB_SERVER_URL}")//"
[ -n "${GITHUB_TOKEN}" ] &&
SPCD_PROJECT_ROOT="${SPCD_PROJECT_ROOT}${GITHUB_TOKEN}@"
SPCD_PROJECT_ROOT="${SPCD_PROJECT_ROOT}$(basename "${GITHUB_SERVER_URL}")"
SPCD_PROJECT_ROOT="\
${SPCD_PROJECT_ROOT}$(basename "${GITHUB_SERVER_URL}")"
else
spcd_error_ci "GITHUB_SERVER_URL"
fi