From 54a094ed9856df625f211d7acb7feaa36543d20b Mon Sep 17 00:00:00 2001 From: solidnerd Date: Sat, 18 Mar 2017 14:41:24 +0100 Subject: [PATCH] Deploy gitlab-pages only if it's enabled --- assets/runtime/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/runtime/functions b/assets/runtime/functions index b9bb9266..bbb5bd16 100644 --- a/assets/runtime/functions +++ b/assets/runtime/functions @@ -1295,7 +1295,7 @@ install_configuration_templates() { ## ${GITLAB_PAGES_NGINX_CONFIG} - if [[ ${GITLAB_PAGES_HTTPS} == true ]]; then + if [[ ${GITLAB_PAGES_ENABLED} == true ]]; then if [[ -f ${SSL_PAGES_CERT_PATH} && -f ${SSL_PAGES_KEY_PATH} ]]; then install_template root: nginx/gitlab-pages-ssl ${GITLAB_PAGES_NGINX_CONFIG} else