mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 08:58:35 +00:00
Merge pull request #8408 from appwrite/fix-vsc-deployments-path
fix: Setting `path` for vsc function deployments
This commit is contained in:
commit
4ce737e914
1 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue