From 7cb08849de161378111f37facead3f98fc1b7c4b Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Thu, 6 Jun 2024 15:11:17 +0200 Subject: [PATCH] refactor: Improve pre and post deployment command inputs --- .../project/application/general.blade.php | 26 +++++++++++-------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/resources/views/livewire/project/application/general.blade.php b/resources/views/livewire/project/application/general.blade.php index c6c5bbef3..39c21c690 100644 --- a/resources/views/livewire/project/application/general.blade.php +++ b/resources/views/livewire/project/application/general.blade.php @@ -265,20 +265,24 @@

Pre/Post Deployment Commands

- - + + @if ($application->build_pack === 'dockercompose') + + @endif
- + id="application.post_deployment_command" label="Post-deployment " + helper="An optional script or command to execute in the newly built container after the deployment completes.
It is always executed with 'sh -c', so you do not need add it manually." /> + @if ($application->build_pack === 'dockercompose') + + @endif