Fix path to deployment files

This commit is contained in:
sebastian 2024-12-14 14:56:25 +01:00
parent b5ad2bb9c8
commit fa42ef960c

View File

@ -69,7 +69,7 @@ class Deployment extends AbstractConfiguration
protected function loadBasicDeployerFiles(): void protected function loadBasicDeployerFiles(): void
{ {
$commonFile = realpath(__DIR__ . '/../../../../Build/vendor/deployer/deployer/recipe/common.php'); $commonFile = realpath(__DIR__ . '/../../../../deployer/deployer/recipe/common.php');
if (file_exists($commonFile)) { if (file_exists($commonFile)) {
require $commonFile; require $commonFile;
} }
@ -117,7 +117,7 @@ class Deployment extends AbstractConfiguration
protected function loadHostConfiguration(): void protected function loadHostConfiguration(): void
{ {
// read configuration // read configuration
inventory(__DIR__ . '/../../../../Build/hosts.yaml'); inventory(__DIR__ . '/../../../../../hosts.yaml');
} }
protected function initializeMainTask(): void protected function initializeMainTask(): void