rocketeer
rocketeer copied to clipboard
hooks are not executed as of 2.2.3
When I run rocketeer update
after updating rocketeer to 2.2.3 the post update hooks are not excecuted. The same happens for rocketeer deploy
. After reverting to 2.2.0 it works fine. Here is my hooks.php:
<?php
use Redacted\Tasks;
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' => [],
'update' => [
Tasks\DoctrineProxies::class,
Tasks\Migrate::class,
],
'deploy' => [
Tasks\Migrate::class,
Tasks\DockerUpgrade::class,
Tasks\DoctrineProxies::class,
Tasks\Translations::class,
],
'cleanup' => [],
],
// Custom Tasks to register with Rocketeer
'custom' => [],
];
I got stalled on the same issue. How did you revert to 2.2.0?
I changed the version requirement in the project's composer.json to 2.2.0