From d3023a6767640849428d7b63be6442988b379d96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Monta=C3=B1ez?= Date: Sun, 10 Apr 2022 18:35:38 -0300 Subject: [PATCH] [Galactica] Improve PSR-12 --- src/Task/BuiltIn/Deploy/ReleaseTask.php | 2 +- src/Task/BuiltIn/SleepTask.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Task/BuiltIn/Deploy/ReleaseTask.php b/src/Task/BuiltIn/Deploy/ReleaseTask.php index 924e4ff..adecf2b 100644 --- a/src/Task/BuiltIn/Deploy/ReleaseTask.php +++ b/src/Task/BuiltIn/Deploy/ReleaseTask.php @@ -41,7 +41,7 @@ class ReleaseTask extends AbstractTask implements ExecuteOnRollbackInterface $hostPath = rtrim($this->runtime->getEnvOption('host_path'), '/'); $releaseId = $this->runtime->getReleaseId(); - + $symlink = $this->runtime->getEnvOption('symlink', 'current'); $cmdLinkRelease = sprintf('cd %s && ln -snf releases/%s %s', $hostPath, $releaseId, $symlink); diff --git a/src/Task/BuiltIn/SleepTask.php b/src/Task/BuiltIn/SleepTask.php index 07dfda8..6415dea 100644 --- a/src/Task/BuiltIn/SleepTask.php +++ b/src/Task/BuiltIn/SleepTask.php @@ -1,4 +1,5 @@