Skip to content
Snippets Groups Projects
Commit 38761503 authored by jurgenhaas's avatar jurgenhaas
Browse files

gitlab-ci-cd/drupal#28 Make it work in pipelines too

parent 5639bdce
No related branches found
No related tags found
1 merge request!9Merging develop into main
......@@ -52,7 +52,9 @@ else
fi
if [[ -n ${CI_SERVER_URL} ]]; then
GITLAB_URL=$CI_SERVER_URL
GITLAB_PRIVATE_TOKEN=$CI_JOB_TOKEN
fi
if [[ -n ${GITLAB_ACCESS_TOKEN} ]]; then
GITLAB_PRIVATE_TOKEN=$GITLAB_ACCESS_TOKEN
fi
if [[ "x${GITLAB_URL}" == "x" ]]; then
echo "Missing GITLAB_URL environment variable, should be set to e.g. https://gitlab.lakedrops.com"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment