From f9ba1c29b2bae68baaa2826c1867099dcb03a5c0 Mon Sep 17 00:00:00 2001 From: Pierre Ozoux Date: Mon, 28 Nov 2022 12:20:11 +0000 Subject: [PATCH 1/2] Fixes bug visio url link --- base/apps/indie_external/lib/SitesManager.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/base/apps/indie_external/lib/SitesManager.php b/base/apps/indie_external/lib/SitesManager.php index 00e8aaf..773eec5 100644 --- a/base/apps/indie_external/lib/SitesManager.php +++ b/base/apps/indie_external/lib/SitesManager.php @@ -115,8 +115,12 @@ class SitesManager { if ($site['name'] === 'Visio') { $visio_url = getenv('VISIO_URL', true) ?: getenv('VISIO_URL'); - if ($visio_url) { - $site['url'] = $visio_url; + if ($visio_url !== '') { // if VISIO_URL is empty, we use the default provided in the json + if ($visio_url == 'false') { // if VISIO_URL is 'false', continue the loop and skip this item + continue; + } else { + $site['url'] = $visio_url; + } } } -- GitLab From 1c1190f56e66cb552c49d9a68e3ea551bcf3e9fc Mon Sep 17 00:00:00 2001 From: Pierre Ozoux Date: Mon, 28 Nov 2022 13:37:50 +0000 Subject: [PATCH 2/2] Fix DESTINATION bash variable pipeline broken. --- ci/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/functions b/ci/functions index 3b184eb..2486bef 100644 --- a/ci/functions +++ b/ci/functions @@ -38,7 +38,7 @@ function build_web() { function test_build() { print_versions - export DESTINATION: "--no-push" + export DESTINATION="--no-push" build_base } -- GitLab