{deploy.state === 'ready' ? (
) : deploy.state === 'error' ? (
) : (
)}
{deploy.state}
{formatDistanceToNow(new Date(deploy.created_at))} ago
{deploy.branch && (
Branch: {deploy.branch}
)}
{deploy.deploy_url && (
)}
{deploy.state === 'ready' ? (
) : (
)}