From 8adb1d149554fb2ca0c09fa45dd89652d8897981 Mon Sep 17 00:00:00 2001 From: wilsonge Date: Thu, 12 Sep 2019 11:56:51 +0100 Subject: [PATCH] Customise the CMS directory so it's in the apache scope --- .drone/build.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.drone/build.sh b/.drone/build.sh index f973633..b51faa1 100644 --- a/.drone/build.sh +++ b/.drone/build.sh @@ -6,17 +6,15 @@ echo "Started building at $(date) - $(whoami)" # Update composer composer self-update -# show directory listing -ls -al -ls -al vendor -mount - # Install dependencies composer install --no-interaction --no-progress cp jorobo.dist.ini jorobo.ini cp RoboFile.dist.ini RoboFile.ini +# Make sure the path to the CMS is inside the apache config for docker +sed -i 's!^cmsPath\s*=\s*(.*)!\/tests\/joomla/$1!' RoboFile.ini + # Build package vendor/bin/robo build --dev