git clone https://github.com/Lulliter/example.gitCustom domain on Google domain
The following steps help when setting up a new website that is hosted on GitHub Pages. Then, since GitHub Pages supports using custom domains, there are the instructions to re-direct tje site’s URL from the default <user>.github.io/domain to a custom domain name registered on Google Domain. Since GitHub Pages supports using custom domains, there are the instructions to re-direct the site’s URL from the default <user>.github.io/domain to a custom domain name registered on Google Domain.
Assuming you have:
- An Google Domain account
 - A GITHUB account
 - A website (distill/blogdown/quarto) in a GH repo that is being already deployed using GH PAGES on a domain like gh_user.github.io/domain_name/ (in my case 
https://lulliter.github.io/domain_name/) 
KEY Google Domain INFO: Domain & Hosted ZOne
INSTRUCTIONS for website {Github Pages + Google Domain}
[on GitHub]: initiate a repo in the usual way
- Create a new repo on GitHub
 - Go on local PARENT directory of the intended repo
 - Execute
 
- 
on Local/GitHub: deploy website via Github Pages
- add content
 - git add/commit/push (or see my 
./_render-deploy.sh) 
 Configure the Repo to publish on
https://lulliter.github.io/example/by going to Settings –> Pages –> (make sure to have a./docsfolder and indicate to GH that you will deploy from it)on local: CNAME Looking forward, we will need to have a file named
CNAMEthat contains a single row: your custom domain (in this case:thepadrinoz.com)
❗ Before adding/committing to repo CNAME, at every push, the custom domain gets decoupled from GH Pages settings ….