123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <?php
- return [
- // Tasks
- //
- // Here you can define in the `before` and `after` array, Tasks to execute
- // before or after the core Rocketeer Tasks. You can either put a simple command,
- // a closure which receives a $task object, or the name of a class extending
- // the Rocketeer\Abstracts\AbstractTask class
- //
- // In the `custom` array you can list custom Tasks classes to be added
- // to Rocketeer. Those will then be available in the command line
- // with all the other tasks
- //////////////////////////////////////////////////////////////////////
- // Tasks to execute before the core Rocketeer Tasks
- 'before' => [
- 'setup' => [],
- 'deploy' => [],
- 'cleanup' => [],
- ],
- // Tasks to execute after the core Rocketeer Tasks
- 'after' => [
- 'setup' => [],
- 'deploy' => [
- 'composer update',
- 'composer dumpautoload',
- 'php artisan route:clear',
- 'chmod -R 777 bootstrap',
- 'chmod -R 777 storage',
- 'chmod -R 777 public'
- ],
- 'cleanup' => [],
- ],
- // Custom Tasks to register with Rocketeer
- 'custom' => [],
- ];
|