diff --git a/src/Appwrite/Platform/Modules/Functions/Workers/Builds.php b/src/Appwrite/Platform/Modules/Functions/Workers/Builds.php index 0e16a0040e..dee13c83ce 100644 --- a/src/Appwrite/Platform/Modules/Functions/Workers/Builds.php +++ b/src/Appwrite/Platform/Modules/Functions/Workers/Builds.php @@ -399,7 +399,7 @@ class Builds extends Action ); } - $tmpPath = '/tmp/builds/' . $deployment; + $tmpPath = '/tmp/builds/' . $deploymentId; $tmpPathFile = $tmpPath . '/code.tar.gz'; $localDevice = new Local();