data_get($deployment, 'status') === 'in_progress' ||
data_get($deployment, 'status') === 'cancelled-by-user',
'border-error' => data_get($deployment, 'status') === 'failed',
'border-success' => data_get($deployment, 'status') === 'finished',
])
x-on:click.stop="goto('{{ $current_url . '/' . data_get($deployment, 'deployment_uuid') }}')">
{{ $deployment->created_at }} UTC
>
{{ $deployment->status }}
@if (data_get($deployment, 'is_webhook') || data_get($deployment, 'pull_request_id'))
@if (data_get($deployment, 'is_webhook'))
Webhook
@endif
@if (data_get($deployment, 'pull_request_id'))
@if (data_get($deployment, 'is_webhook'))
|
@endif
Pull Request #{{ data_get($deployment, 'pull_request_id') }}
(SHA
@if (data_get($deployment, 'commit'))
{{ data_get($deployment, 'commit') }})
@else
HEAD)
@endif
@endif
@else
@if (data_get($deployment, 'rollback') === true)
Rollback
@else
Manual
@endif
@if (data_get($deployment, 'commit'))
(SHA {{ data_get($deployment, 'commit') }})
@endif
@endif
@if (data_get($deployment, 'server_name') && $application->additional_servers->count() > 0)
Server: {{ data_get($deployment, 'server_name') }}
@endif