Support static sites

This commit is contained in:
Matej Bačo
2024-10-26 18:43:30 +02:00
parent 9295a4e7ce
commit ea6765c68a
12 changed files with 126 additions and 63 deletions
+2
View File
@@ -67,6 +67,7 @@ class Executor
string $destination = '',
array $variables = [],
string $command = null,
string $outputDirectory = ''
) {
$runtimeId = "$projectId-$deploymentId-build";
$route = "/runtimes";
@@ -90,6 +91,7 @@ class Executor
'memory' => $memory,
'version' => $version,
'timeout' => $timeout,
'outputDirectory' => $outputDirectory
];
$response = $this->call(self::METHOD_POST, $route, [ 'x-opr-runtime-id' => $runtimeId ], $params, true, $timeout);