@if (data_get($application_deployment_queue, 'status') === 'in_progress')
Deployment is
{{ Str::headline(data_get($this->application_deployment_queue, 'status')) }}.
{{--
Logs will be updated automatically.
--}}
@else
Deployment is {{ Str::headline(data_get($application_deployment_queue, 'status')) }}.
@endif
@if (decode_remote_command_output($application_deployment_queue)->count() > 0)
@foreach (decode_remote_command_output($application_deployment_queue) as $line)
$line['hidden'],
'text-red-500' => $line['type'] == 'stderr',
])>[{{ $line['timestamp'] }}] @if ($line['hidden'])
COMMAND:
{{ $line['command'] }}
OUTPUT:
@endif{{ $line['output'] }}@if ($line['hidden'])
@endif
@endforeach
@else
No logs yet.
@endif