From 815fa538da7f2c69fd79bfbef71c8060fe6988c8 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Thu, 8 Jun 2023 09:31:27 +0200 Subject: [PATCH] fix deployment --- app/Jobs/ApplicationDeploymentJob.php | 7 ++++--- .../livewire/project/application/preview/form.blade.php | 2 +- .../livewire/project/application/previews.blade.php | 2 +- .../livewire/project/application/rollback.blade.php | 9 +++------ 4 files changed, 9 insertions(+), 11 deletions(-) diff --git a/app/Jobs/ApplicationDeploymentJob.php b/app/Jobs/ApplicationDeploymentJob.php index 92c057a5f..d962fa6a6 100644 --- a/app/Jobs/ApplicationDeploymentJob.php +++ b/app/Jobs/ApplicationDeploymentJob.php @@ -565,13 +565,14 @@ COPY --from=$this->build_image_name /app/{$this->application->publish_directory} ]); $this->activity->save(); if ($isDebuggable && !$this->application->settings->is_debug_enabled) { + ray('Debugging is disabled for this application. Skipping command.'); $hideFromOutput = true; } $remote_process = resolve(RunRemoteProcess::class, [ 'activity' => $this->activity, - 'hideFromOutput' => $hideFromOutput, - 'isFinished' => $isFinished, - 'ignoreErrors' => $ignoreErrors, + 'hide_from_output' => $hideFromOutput, + 'is_finished' => $isFinished, + 'ingore_errors' => $ignoreErrors, ]); $result = $remote_process(); if ($propertyName) { diff --git a/resources/views/livewire/project/application/preview/form.blade.php b/resources/views/livewire/project/application/preview/form.blade.php index 2518e4404..0cecf436e 100644 --- a/resources/views/livewire/project/application/preview/form.blade.php +++ b/resources/views/livewire/project/application/preview/form.blade.php @@ -2,7 +2,7 @@

Previews Deployments

Save - Reset to default + Reset template to default
Preview Deployments based on pull requests are here.
diff --git a/resources/views/livewire/project/application/previews.blade.php b/resources/views/livewire/project/application/previews.blade.php index 2033c6a28..0ce22c86b 100644 --- a/resources/views/livewire/project/application/previews.blade.php +++ b/resources/views/livewire/project/application/previews.blade.php @@ -3,7 +3,7 @@

Pull Requests on Git

- Load Pull Requests (open) + Load (Open) Pull Requests
@isset($rate_limit_remaining) diff --git a/resources/views/livewire/project/application/rollback.blade.php b/resources/views/livewire/project/application/rollback.blade.php index c9cb0bec1..380b43d1e 100644 --- a/resources/views/livewire/project/application/rollback.blade.php +++ b/resources/views/livewire/project/application/rollback.blade.php @@ -4,9 +4,9 @@ Reload Available Images
You can easily rollback to a previously built image quickly.
-
+
- @forelse ($images as $image) + @foreach ($images as $image)
@@ -32,10 +32,7 @@
- @empty -
No images found -
- @endforelse + @endforeach