for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Reallyli\LaravelDeployer\Commands;
class DeployRollback extends BaseCommand
{
protected $signature = 'deploy:rollback {stage? : Stage or hostname}';
protected $description = 'Rollback to previous release';
public function handle()
if ($this->confirm('Are you sure rollback to previous release')) {
$this->dep('rollback');
}