@foreach (data_get($application, 'previews') as $previewName => $preview)
PR #{{ data_get($preview, 'pull_request_id') }} |
@if (str(data_get($preview, 'status'))->startsWith('running'))
@elseif(str(data_get($preview, 'status'))->startsWith('restarting'))
@else
@endif
@if (data_get($preview, 'status') !== 'exited')
|
Open Preview
@endif
|
Open
PR on Git
@if ($application->build_pack === 'dockercompose')
@if (collect(json_decode($preview->docker_compose_domains))->count() === 0)
@else
@foreach (collect(json_decode($preview->docker_compose_domains)) as $serviceName => $service)
@endforeach
@endif
@else
@endif
@if (count($parameters) > 0)
Deployment Logs
Application Logs
@endif
@if (data_get($preview, 'status') === 'exited')
Deploy
@else
Redeploy
@endif
@if (data_get($preview, 'status') !== 'exited')
Stop
This will stop the preview deployment.
Please think again.
@endif
This will delete the preview deployment.
Please think again.