src/Controllers/DeployController.php
private function copyEnv()
    {
        $cmd = new Command('cp');
        $cmd->addParam($this->webroot.'./env')
            ->addParam($this->installDir.'/.env');

        return $this->ex($cmd);
    }
private function copyEnv()
    {
        $cmd = new Command('cp');
        $cmd->addParam($this->webroot.'./env')
            ->addParam($this->installDir.'/.env');

        return $this->ex($cmd);
    }
Copy the .env file from the new deploy directory.

@return bool True if the update is successful. False otherwise.