Private Project Page Prompts Login

I have a project that is private. I have setup CI/CD and have a page URL, I am able to see my site fine because I am logged into github. However If i’m not logged in and I visit the URL I am taken to the github login page.

Contents of .gitlab-ci.yml

pages:
  stage: deploy
  script:
    - mkdir .public
    - cp -r * .public
    - mv .public public
  artifacts:
    paths:
      - public
  only:
    - site

I have checked Settings > General > Visibility, project features, permissions and set the Pages to Everyone and saved the setting, no change.

I though this meant it wasn’t necessary to login in order to see the page?

Any idea what could be wrong, or do I have to make any other changes?