diff --git a/deployer/typo3-recipe.php b/deployer/typo3-recipe.php index fe666b5..eed01ce 100644 --- a/deployer/typo3-recipe.php +++ b/deployer/typo3-recipe.php @@ -142,9 +142,14 @@ set('release_or_current_path', function () { // PHP-FPM Reload (for NixOS infrastructure) // ============================================================================= -task('php:reload', function () { +// needed for t3o infrastructure +task('php:reload', function() { run('php-reload'); -})->desc('Reload PHP-FPM'); +})->select('stage=contentmaster'); + +task('php:reload-prod', function() { + run('php-reload'); +})->select('stage=production'); // ============================================================================= // Deployment Strategies