Gitlab pages not deploying even with pipeline successful

86 views Asked by At

I am trying to deploy a GitLab Pages static site using html generated by sphinx. My .gitlab-ci.yml file is as follows:

image: alpine:latest

pages:
  tags:
    - sphinx
  stage: deploy
  script:
    - pip install -r requirements.txt
    - sphinx-build -b html ./docs public
  artifacts:
    paths:
      - public
  only:
    - master

I have a runner on my local computer using a powershell executor, and it runs without issue as you can see here (ignore the previous, failed pipeline):

image showing pipeline success

However, even though it says it has been successful, the pages option does not display in the repository sidebar and I don't see any link to an actual deployed page. When I download the pipeline artifacts, I am able to open the files locally in my browser and everything shows up perfectly, meaning the html did get generated.

Any help would be greatly appreciated!

0

There are 0 answers