prepare deploy process