Export robots.txt and sitemap.xml for static builds
Export robots.txt and sitemap.xml for static builds
At a glance
The community member is asking if it's possible to include robots.txt and sitemap.xml files in a static build (ZIP file), as they are required for their Netlify deployment. The comments suggest that this may not be possible due to the lack of a known domain in static builds. Some community members propose providing the domain to the CLI or using an unverified domain as potential solutions, but there is no explicitly marked answer.
Hi folks, do you think it's possible to include robots.txt and sitemap.xml (the ones generated by publishing to Webstudio hosting) in a static build (ZIP file)? Could be optional as well. For me, Netlify is a requirement, and so I need to create it manually before each deploy.