fix: function command

This commit is contained in:
Torsten Dittmann
2024-10-24 19:43:12 +02:00
parent aba3a31663
commit 5d6a8be66d
@@ -830,7 +830,7 @@ class Builds extends Action
protected function getCommand(Document $resource, Document $deployment): string
{
return match($resource->getCollection()) {
'functions' => $deployment->getAttribute('command', ''),
'functions' => $deployment->getAttribute('commands', ''),
'sites' => implode(' && ', array_filter([
$deployment->getAttribute('installCommand'),
$deployment->getAttribute('buildCommand')