I’m looking for some tips when first deploying a site to Netlify and would welcome any advice!
I have a Gatsby site that’s in local development. Most of the site is complete but I’m still waiting on some content to replace placeholder text and images.
I would like to deploy the site asap though, to make sure it’s working correctly while hosted and to run performance checks etc, before eventually getting a new domain name and “officially” launching it.
As I understand it, deploy previews and staging branches only work once the main site is live? So would the best approach be to deploy the main branch onto Netlify, making sure robots.txt is set to disallow all (using gatsby-plugin-robots-txt) to stop the site being indexed by search engines, and once the site is fully complete, allow indexing and set up a sitemap.
All advice, or tips if I’m missing something would be thoroughly appreciated!