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 @@