Use named refs until the deployments API supports shas and refs

Right now the auto-deploy feature uses the sha that was pushed instead of the ref. This can be problematic with certain integrations that don't support deploying specific shas. We're planning to enhance the deployments API to support `ref@sha` syntax in the next few weeks but I'd like to support refs until we do.