Github Pages Repository with custom subdomain in route 53
I have recently created a repository and I’ve been deploying it to github pages using the standard .yaml file from github actions, so far so good, I can access it through .github.io/repo-name however, I am trying to set up a custom subdomain to redirect it do the github paage. I have got the oneexample.com hosted zone in AWS Route 53 and I want to have the domain repo-name.oneexample.com to redirect it to gh pages but I cannot get it to work.
Most of the posts in the internet are using subdomains to route to base user pages, which Is not what I need. I have also read that I should need to wait for up to 24 hrs for the Route 53 DNS to propagate, but I also don’t believe that is the case as Route53 should propagate the DNS configs within 1 minute.
What I have tried so far: