Abstracted deployment code into a job.

This commit is contained in:
Joao Patricio
2023-03-31 12:32:07 +01:00
parent 5d89df554a
commit ff3d0b29e3
8 changed files with 289 additions and 215 deletions

View File

@@ -1,6 +1,5 @@
<div>
@isset($activity?->id)
<pre style="width: 100%;overflow-y: scroll;" @if ($isKeepAliveOn) wire:poll.750ms="polling" @endif>{{ data_get($activity, 'description') }}</pre>
@endisset
{{-- <pre style="width: 100%;overflow-y: scroll;">{{ data_get($activity, 'properties') }}</pre> --}}
<pre style="width: 100%;overflow-y: scroll;" @if ($isKeepAliveOn) wire:poll.750ms="polling" @endif>
{{ data_get($activity, 'description') }}
</pre>
</div>

View File

@@ -1,4 +1,4 @@
<x-layout>
<h1>Deployment</h1>
<livewire:poll-activity :activity="$activity" />
<livewire:poll-activity :activity="null" :deployment_uuid="$deployment_uuid" />
</x-layout>