Add deploy branch function