@if (count($application->additional_servers) > 0)
Previews will be deployed on {{ $application->destination->server->name }}.
@endif
@if ($application->is_github_based())

Pull Requests on Git

Load Pull Requests
@endif @isset($rate_limit_remaining)
Requests remaining till rate limited by Git: {{ $rate_limit_remaining }}
@endisset
@if ($pull_requests->count() > 0)
@foreach ($pull_requests as $pull_request) @endforeach
PR Number PR Title Git Actions
{{ data_get($pull_request, 'number') }} {{ data_get($pull_request, 'title') }} Open PR on Git Deploy
@endif
@if ($application->previews->count() > 0)
Previews
@foreach ($application->previews as $preview)
PR #{{ data_get($preview, 'pull_request_id') }} | @if (Str::of(data_get($preview, 'status'))->startsWith('running')) @elseif(Str::of(data_get($preview, 'status'))->startsWith('restarting')) @else @endif @if (data_get($preview, 'status') !== 'exited') | Open Preview @endif | Open PR on Git
@if (data_get($preview, 'status') === 'exited') Deploy @else Redeploy @endif Deployment Logs Application Logs Delete
@endforeach
@endif