Deploy to the target according to the current branch