Skip to content

Commit

Permalink
Update docs for confirm feature.
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Apr 4, 2015
1 parent 391841f commit eb50509
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions envoy.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,16 @@ You may also use ```@include``` to include any PHP files:

@include('vendor/autoload.php');

#### Confirming Tasks Before Running

If you would like to be prompted for confirmation before running a given task on your servers, you may use the `confirm` directive:

@task('deploy', ['on' => 'web', 'confirm' => true])
cd site
git pull origin {{ $branch }}
php artisan migrate
@endtask

<a name="envoy-multiple-servers"></a>
## Multiple Servers

Expand Down

0 comments on commit eb50509

Please sign in to comment.