From 97f6d65691b5e8eb7b1e7ae5e27859ce3f1ebabd Mon Sep 17 00:00:00 2001 From: wilsonge Date: Thu, 12 Sep 2019 17:29:56 +0100 Subject: [PATCH] Ensure dir exists for copying --- .drone/build.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.drone/build.sh b/.drone/build.sh index 23d5c96..455ad20 100644 --- a/.drone/build.sh +++ b/.drone/build.sh @@ -12,9 +12,10 @@ 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 +# Create the apache root directory then configure the RoboFile to use it for the Joomla Site +mkdir -p /tests/www +chown -R www-data /tests sed -i -r 's!^(cmsPath\s*=\s*)(.*)!\1\/tests\/www\/\2!' RoboFile.ini -cat RoboFile.ini # Build package vendor/bin/robo build --dev