Can you check
- <yoursite>/admin/reports/web_crawlers to see if Googlebot is in the list?
- the site setting
allowed_crawler_user_agents
to make sure you are not blocking Google by accident (share this here if possible)
Discourse SEO overview (sitemap / robots.txt ) may be a useful topic for you.