auto-detect deploy branch