remove unnecessary things from demo

This commit is contained in:
Andras Bacsai 2023-03-27 09:35:34 +02:00
parent f57684b024
commit e604abf47a
3 changed files with 4 additions and 3 deletions

View File

@ -13,7 +13,7 @@ class DispatchRemoteProcess
public function __construct(RemoteProcessArgs $remoteProcessArgs){
$this->activity = activity()
->withProperties($remoteProcessArgs->toArray())
->log("Awaiting command to start...\n\n");
->log("");
}
public function __invoke(): Activity

View File

@ -75,6 +75,7 @@ protected function getCommand(): string
. '-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null '
. '-o PasswordAuthentication=no '
. '-o RequestTTY=no '
. "-o LogLevel=ERROR "
. "-p {$port} "
. "{$user}@{$destination} "
. " 'bash -se' << \\$delimiter" . PHP_EOL

View File

@ -25,9 +25,9 @@
Activity: <span>{{ $activity?->id ?? 'waiting' }}</span>
</div>
<pre style="width: 100%;overflow-y: scroll;" @if ($isKeepAliveOn || $manualKeepAlive) wire:poll.750ms="polling" @endif>{{ data_get($activity, 'description') }}</pre>
<div>
{{-- <div>
<div>Details:</div>
<pre style="width: 100%;overflow-y: scroll;">{{ json_encode(data_get($activity, 'properties'), JSON_PRETTY_PRINT) }}</pre>
</div>
</div> --}}
@endisset
</div>