Add retries to artifact deployment.