Only deploying after success