1234567891011121314151617181920212223242526272829303132333435363738394041 |
- <?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 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' => [],
- ];
|