deployer icon indicating copy to clipboard operation
deployer copied to clipboard

task are shown (though not executed) event when they don't match the selector

Open danielzzz opened this issue 3 years ago • 0 comments

  • Deployer version: 7.0.0

  • Deployment OS: ubuntu

    Please, provide a minimal reproducible example of deploy.php
    

task('demo', function () {
    writeln('demo task');
})->select('stage=demo');

task('test', function () {
    writeln('dev task');
})
->select('stage=dev');
after('test', 'demo');

if I use dep test dev I still get demo in the list, which might be confusing. how do I know this task has not been executed?

task test
[dev] dev task
task demo

thanks! dan

danielzzz avatar Aug 17 '22 14:08 danielzzz