Skip to content

Commit

Permalink
Merge e4c5715 into 66c4543
Browse files Browse the repository at this point in the history
  • Loading branch information
filpgame committed Jan 28, 2016
2 parents 66c4543 + e4c5715 commit 9fc53f0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions recipe/laravel.php
Expand Up @@ -41,6 +41,16 @@
/**
* Helper tasks
*/
task('deploy:migrate', function () {
$output = run('php {{deploy_path}}/current/artisan migrate');
writeln('<info>'.$output.'</info>');
})->desc('Execute artisan migrate');

task('deploy:migrate_rollback', function () {
$output = run('php {{deploy_path}}/current/artisan migrate:rollback');
writeln('<info>'.$output.'</info>');
})->desc('Execute artisan migrate:rollback');

task('deploy:up', function () {
$output = run('php {{deploy_path}}/current/artisan up');
writeln('<info>'.$output.'</info>');
Expand Down

0 comments on commit 9fc53f0

Please sign in to comment.