diff --git a/src/Step/StaticFiles/Copy.php b/src/Step/StaticFiles/Copy.php index 56e7ecb3d..874d81a03 100644 --- a/src/Step/StaticFiles/Copy.php +++ b/src/Step/StaticFiles/Copy.php @@ -72,7 +72,7 @@ public function process(): void // copying mounts if ($this->config->get('static.mounts')) { foreach ($this->config->get('static.mounts') as $source => $destination) { - $this->copy($source, $destination); + $this->copy(Util::joinFile($this->config->getStaticPath(), (string) $source), (string) $destination); } } diff --git a/tests/fixtures/website/config.php b/tests/fixtures/website/config.php index 4a7d563aa..99e68c984 100644 --- a/tests/fixtures/website/config.php +++ b/tests/fixtures/website/config.php @@ -176,6 +176,9 @@ 'path', ], 'load' => true, + 'mounts' => [ + 'video' => 'mount_test', + ], ], 'assets' => [ 'compile' => [