I have a public group project at gitlab.com, say https://gitlab.com/group/project
I’m trying to add GitLab Pages for this project (based on mkdocs
).
I’ve added a .gitlab-ci.yml
file with the following contents (simplified):
pages:
stage: deploy
image: python:3.10
only:
- tags
- main
script:
- pip install -r requirements/requirements-dev.txt
- mkdocs build --strict --verbose
artifacts:
paths:
- public
environment: production
After commit, it ran successfully.
Also, the special pages:deploy appear.
When browsing the artifacts, everything looks correct.
But, under “Deploy” pages does not appear.
Any thoughts ?