@foreach (data_get($application, 'previews') as $previewName => $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 ($application->build_pack === 'dockercompose')
@foreach (collect(json_decode($preview->docker_compose_domains)) as $serviceName => $service)
@endforeach
@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.