remove unnecessary things from demo
This commit is contained in:
parent
f57684b024
commit
e604abf47a
@ -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
|
||||
|
@ -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
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user