Closed boesing closed 5 months ago
It seems that deployer reads configuration as it comes in. I personally would expect the order to be:
config
import
tasks
after
before
The main reason for this is that:
invoke
Problematic YAML order:
tasks: "deploy:prepare:whatever": - info: "Whatever" after: "deploy:prepare": "deploy:prepare:whatever" import: - 'recipe/common.php'
Working YAML order:
import: - 'recipe/common.php' tasks: "deploy:prepare:whatever": - info: "Whatever" after: "deploy:prepare": "deploy:prepare:whatever"
It seems that deployer reads configuration as it comes in. I personally would expect the order to be:
config
import
tasks
after
/before
The main reason for this is that:
tasks
might want toinvoke
tasks fromimport
ed recipesafter
/before
wants to queuetasks
after
orbefore
tasks fromimport
ed recipesProblematic YAML order:
Working YAML order: