@props(['application']) @php $canDeploy = auth()->user()->can('deploy', $application); $isExited = str($application->status)->startsWith('exited'); $isSwarm = $application->destination->server->isSwarm(); $isCompose = $application->build_pack === 'dockercompose'; $withoutCacheAction = $application->status === 'running' ? 'force_deploy_without_cache' : 'deploy(true)'; @endphp @if ($isExited) @if ($isSwarm) @else