File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change 88use Deployer \Task \Task ;
99use Hypernode \DeployConfiguration \Command \Command ;
1010use Hypernode \DeployConfiguration \Command \DeployCommand ;
11- use Hypernode \DeployConfiguration \Configurable \ServerRoleConfigurableInterface ;
12- use Hypernode \DeployConfiguration \Configurable \StageConfigurableInterface ;
1311use Hypernode \DeployConfiguration \TaskConfigurationInterface ;
1412
1513use function Deployer \parse ;
@@ -54,15 +52,6 @@ private function build(Command $command, string $name): Task
5452 $ this ->runCommandWithin ($ command );
5553 });
5654
57- if ($ command instanceof StageConfigurableInterface && $ command ->getStage ()) {
58- $ task ->select ("stage= {$ command ->getStage ()->getName ()}" );
59- }
60-
61- if ($ command instanceof ServerRoleConfigurableInterface && $ command ->getServerRoles ()) {
62- $ roles = implode ("& " , $ command ->getServerRoles ());
63- $ task ->select ("roles= $ roles " );
64- }
65-
6655 return $ task ;
6756 }
6857
You can’t perform that action at this time.
0 commit comments