Website hosted takes me to gitlab login page

I hosted my website using Gitlab. But when I try to visit my website, Gitlab Sign-in page appears! I tried to host two websites again & again with different themes. But then too there is no change while visiting the websites.

The environment I used to create my website is HUGO.

The content of my .gitlab-ci.yml file in gitlab projects is:

image: monachus/hugo

variables:
GIT_SUBMODULE_STRATEGY: recursive

before_script:
#- apk add git

  • git submodule init
  • git submodule update --force

pages:
script:

  • hugo
    artifacts:
    paths:
    • public
      only:
  • master

Go to the repo’s “Settings” -> “General” -> “Visibility, project features, permissions” and changed the “Pages access control” to “Everyone With Access”.

Hi, I tried this but its not working. Secondly anyone should not be given permissions like edit, etc.