From 14e4f8f9ef0bebdb2a325afc89858a1f391fb090 Mon Sep 17 00:00:00 2001 From: Martijn Cuppens Date: Thu, 11 Jan 2024 13:28:00 +0100 Subject: [PATCH] Create parent folders if needed See https://man7.org/linux/man-pages/man1/mkdir.1.html --- recipe/provision/website.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe/provision/website.php b/recipe/provision/website.php index ced37a615..938b6129d 100644 --- a/recipe/provision/website.php +++ b/recipe/provision/website.php @@ -11,7 +11,7 @@ desc('Provision website'); task('provision:website', function () { - run("[ -d {{deploy_path}} ] || mkdir {{deploy_path}}"); + run("[ -d {{deploy_path}} ] || mkdir -p {{deploy_path}}"); run("chown -R deployer:deployer {{deploy_path}}"); $domain = get('domain');