The only approach I've seen is to have a separate copy of the deployment settings file for each environment