fix: Setting path for vsc function deployments

This commit is contained in:
Binyamin Yawitz 2024-07-17 13:44:07 -04:00
parent 497272622e
commit 17c708a056
No known key found for this signature in database

View file

@ -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;