deploy.before and deploy.after now support task.target