404 for published pages with gitlab cicd runner #2887
-
Contribution guidelines
I've found a bug and checked that ...
DescriptionI have tried publishing the pages with gitlab cicd runner. I have input site_url in the mkdocs.yaml. However, even though the cicd job succeeded the page is shown with 404. Expected behaviourThe page is successfully published. Actual behaviourThe page is 404 Steps to reproduce
Package versions
Configurationsite_name: Global Tree Attribute Recommendation Technique Details
site_url: # company's internal url
repo_name: # company's internal repo
repo_url: # company's internal url
theme:
name: material
palette:
primary: deep purple
features:
- search.suggest
- search.highlight
plugins:
- search:
lang: en
markdown_extensions:
- admonition
- pymdownx.emoji
- pymdownx.inlinehilite
- pymdownx.highlight:
linenums: true
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: pymdownx.superfences.fence_div_format
- pymdownx.keys
nav:
- Introduction: 'index.md'
- Deployment: 'deploy.md'
- Attribute: 'attribute.md' System information
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Since this is not an issue with this theme, I'm converting it to a discussion. |
Beta Was this translation helpful? Give feedback.
-
I have clarified the issue. The issue is not due to mkdocs-material side but GItlab side. As I was using an old version of gitlab (v13.6.x), it doesn't fully support Gitlab Pages deployment trigger from CI Runner. So even though my page was built and pushed to artifects, it hasn't been published. |
Beta Was this translation helpful? Give feedback.
I have clarified the issue.
The issue is not due to mkdocs-material side but GItlab side. As I was using an old version of gitlab (v13.6.x), it doesn't fully support Gitlab Pages deployment trigger from CI Runner. So even though my page was built and pushed to artifects, it hasn't been published.