Walmart Global Tech interview question

How would you make sure your website has no bugs before deploying it? How would you deploy it?