mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-01 14:06:15 +00:00
Migrate to HTMX (#114)
Dropped Livewire Added HTMX Added Blade code lint Drop Mysql and Redis Migrate to SQLite
This commit is contained in:
@ -9,9 +9,7 @@
|
||||
use App\Events\Broadcast;
|
||||
use App\Exceptions\SourceControlIsNotConnected;
|
||||
use App\Facades\Notifier;
|
||||
use App\Jobs\Site\ChangePHPVersion;
|
||||
use App\Jobs\Site\Deploy;
|
||||
use App\Jobs\Site\DeployEnv;
|
||||
use App\Jobs\Site\UpdateBranch;
|
||||
use App\Notifications\SiteInstallationFailed;
|
||||
use App\Notifications\SiteInstallationSucceed;
|
||||
@ -234,7 +232,8 @@ public function php(): ?Service
|
||||
|
||||
public function changePHPVersion($version): void
|
||||
{
|
||||
dispatch(new ChangePHPVersion($this, $version))->onConnection('ssh');
|
||||
$this->php_version = $version;
|
||||
$this->server->webserver()->handler()->changePHPVersion($this, $version);
|
||||
}
|
||||
|
||||
public function getDeploymentScriptTextAttribute(): string
|
||||
@ -288,11 +287,6 @@ public function getEnvAttribute(): string
|
||||
return $typeData['env'];
|
||||
}
|
||||
|
||||
public function deployEnv(): void
|
||||
{
|
||||
dispatch(new DeployEnv($this))->onConnection('ssh');
|
||||
}
|
||||
|
||||
public function activeSsl(): HasOne
|
||||
{
|
||||
return $this->hasOne(Ssl::class)
|
||||
|
Reference in New Issue
Block a user