The Deploy a Website course (https://www.codecademy.com/learn/deploy-a-website) covers this topic, but Codecademy advises completing the following courses before starting it :
- Learn the Command Line
- Learn Git
- HTML and CSS (or Learn HTML & CSS : Part I)
There is also some great advice from @zystvan in his post, Hosting Your Site with GitHub Pages (https://discuss.codecademy.com/t/beginner-guide-to-hosting-your-site-with-github-pages/7501).
Alternatively, if you have a Codecademy Pro subscription, the final project of the HTML & CSS course has an excellent section on choosing a hosting service and domain name – the article suggests using GoDaddy’s Economy package (https://www.godaddy.com/hosting/web-hosting). If you take the annual option, you’ll get a free custom domain name. If you just want to have the site up for a few months, then they you can get a .com custom domain name very cheaply from GoDaddy as well.