use drone_gitlab_server variable in drone-server.env.j2 (#1)

This commit is contained in:
Med 2019-09-30 01:06:59 +02:00 committed by Bo-Yi Wu
parent b4b62cc283
commit 41c59c2124

View File

@ -50,7 +50,7 @@ DRONE_GITHUB_CLIENT_SECRET={{ drone_github_client_secret }}
DRONE_GITHUB_DEBUG={{ drone_github_debug }} DRONE_GITHUB_DEBUG={{ drone_github_debug }}
{% endif %} {% endif %}
{% if drone_gitlab_client_id != "" and drone_gitlab_client_secret != "" %} {% if drone_gitlab_client_id != "" and drone_gitlab_client_secret != "" %}
DRONE_GITLAB_SERVER=https://gitlab.com DRONE_GITLAB_SERVER={{ drone_gitlab_server }}
DRONE_GITLAB_CLIENT_ID={{ drone_gitlab_client_id }} DRONE_GITLAB_CLIENT_ID={{ drone_gitlab_client_id }}
DRONE_GITLAB_CLIENT_SECRET={{ drone_gitlab_client_secret }} DRONE_GITLAB_CLIENT_SECRET={{ drone_gitlab_client_secret }}
DRONE_GITLAB_DEBUG={{ drone_github_debug }} DRONE_GITLAB_DEBUG={{ drone_github_debug }}