mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 01:18:37 +00:00
Fix buildOutput attribute name in deployment check
This commit is contained in:
parent
debdfeedf1
commit
b7604a5742
1 changed files with 1 additions and 1 deletions
|
|
@ -686,7 +686,7 @@ class Builds extends Action
|
||||||
if ($version === 'v2') {
|
if ($version === 'v2') {
|
||||||
$command = 'tar -zxf /tmp/code.tar.gz -C /usr/code && cd /usr/local/src/ && ./build.sh';
|
$command = 'tar -zxf /tmp/code.tar.gz -C /usr/code && cd /usr/local/src/ && ./build.sh';
|
||||||
} else {
|
} else {
|
||||||
$outputDirectory = $deployment->getAttribute('outputDirectory') ?? $resource->getAttribute('outputDirectory');
|
$outputDirectory = $deployment->getAttribute('buildOutput') ?? $resource->getAttribute('outputDirectory');
|
||||||
if ($resource->getCollection() === 'sites') {
|
if ($resource->getCollection() === 'sites') {
|
||||||
$listFilesCommand = '';
|
$listFilesCommand = '';
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue