It can take a few weeks for googles search bot to crawl and index your websites new content. And then it can take from 90 to 180 days before you show up and rank in a google search.
I've also seen older more established websites that have been around for decades get indexed and ranked within 30 minutes but that is for really popular and older established websites.
When your website gets established and has been online for a decade or more and the more content you have on your website and the more often you update your website the more often google search bot will crawl your website and index and rank your content.