diff --git a/src/Helpers/DeployerFileContent.php b/src/Helpers/DeployerFileContent.php deleted file mode 100644 index e4de0a8..0000000 --- a/src/Helpers/DeployerFileContent.php +++ /dev/null @@ -1,43 +0,0 @@ -path)); - - dump(\File::files(base_path())); - // dump(\File::put('temp11223344.ttxx', '')); - - // dd($this->path, \File::get($this->path), \File::get(base_path('deploy.php'))); - - $content = \File::get($this->path); - - if (empty($content) && !$isOnlyPrint) { - throw new GitlabDeployException('Deploy file is empty or not exists.'); - } - - $this->content = strval($content); - } - - public function restore(): void - { - \File::put(config('gitlab-deploy.deployer-php'), $this->content); - } -}