diff --git a/src/Appwrite/Platform/Workers/Builds.php b/src/Appwrite/Platform/Workers/Builds.php index 8bb9dbb390..8296d845be 100644 --- a/src/Appwrite/Platform/Workers/Builds.php +++ b/src/Appwrite/Platform/Workers/Builds.php @@ -318,6 +318,9 @@ class Builds extends Action throw new \Exception("Unable to move file"); } + $deployment->setAttribute('path', $path); + $deployment = $dbForProject->updateDocument('deployments', $deployment->getId(), $deployment); + Console::execute('rm -rf ' . $tmpPath, '', $stdout, $stderr); $source = $path;