mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-20 04:15:23 +00:00
updates
This commit is contained in:
1 parent
7e47fdf52f
commit
7c9506c96d
3 files changed
+65
-7
No files matched your search
@@ -3,6 +3,7 @@
|
||||
namespace App\Actions\RemoteProcess;
|
||||
|
||||
use App\Data\RemoteProcessArgs;
|
||||
use App\Jobs\DeployRemoteProcess;
|
||||
use App\Jobs\ExecuteRemoteProcess;
|
||||
use Spatie\Activitylog\Models\Activity;
|
||||
|
||||
@@ -30,11 +31,8 @@ class DispatchRemoteProcess
|
||||
public function __invoke(): Activity
|
||||
{
|
||||
$job = new ExecuteRemoteProcess($this->activity);
|
||||
|
||||
dispatch($job);
|
||||
|
||||
$this->activity->refresh();
|
||||
|
||||
return $this->activity;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user