Remove duplicate deploy logic