diff --git a/base/apps/indie_external/lib/SitesManager.php b/base/apps/indie_external/lib/SitesManager.php index 00e8aaf7babac5c953085a8741599a3be7666d30..773eec58e149a254ed7d1ae5162393beaeb02d19 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; + } } } diff --git a/ci/functions b/ci/functions index 3b184eb1a9ebfc367cdd2d69fbce2e61dd665075..2486bef3597473293808ba8c19c98fd11e651740 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 }