mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-02 14:36:17 +00:00
refactoring leftovers
This commit is contained in:
@ -1,9 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace App\Exceptions;
|
||||
|
||||
use Exception;
|
||||
|
||||
class BackupFileException extends Exception
|
||||
{
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace App\Exceptions;
|
||||
|
||||
use Exception;
|
||||
|
||||
class CannotDeployKey extends Exception
|
||||
{
|
||||
//
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace App\Exceptions;
|
||||
|
||||
use Exception;
|
||||
|
||||
class ComposerInstallFailed extends Exception
|
||||
{
|
||||
//
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace App\Exceptions;
|
||||
|
||||
use Exception;
|
||||
|
||||
class ErrorUpdatingRedirects extends Exception
|
||||
{
|
||||
//
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace App\Exceptions;
|
||||
|
||||
use Exception;
|
||||
|
||||
class FailedToInstallWordpress extends Exception
|
||||
{
|
||||
//
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace App\Exceptions;
|
||||
|
||||
use Exception;
|
||||
|
||||
class ProcessFailed extends Exception
|
||||
{
|
||||
//
|
||||
}
|
@ -72,6 +72,6 @@ public function path(): string
|
||||
|
||||
public function storagePath(): string
|
||||
{
|
||||
return '/'.$this->name.'.zip';
|
||||
return '/'.$this->backup->database->name.'/'.$this->name.'.zip';
|
||||
}
|
||||
}
|
||||
|
@ -63,10 +63,6 @@ public function deploySSHKey(string $key): void
|
||||
|
||||
public function deleteSSHKey(string $key): void
|
||||
{
|
||||
info($this->getScript('delete-ssh-key.sh', [
|
||||
'key' => $key,
|
||||
'user' => $this->server->getSshUser(),
|
||||
]));
|
||||
$this->server->ssh()->exec(
|
||||
$this->getScript('delete-ssh-key.sh', [
|
||||
'key' => $key,
|
||||
|
Reference in New Issue
Block a user