Skip to content
Snippets Groups Projects
Commit 3a7f03b3 authored by Taras Lazariv's avatar Taras Lazariv
Browse files

Add --strict mkdocs option to abort by any warning

parent dee2e94b
No related branches found
No related tags found
3 merge requests!322Merge preview into main,!319Merge preview into main,!254Fix broken links which resulted in build warnings
...@@ -56,13 +56,13 @@ Check links for md-files: ...@@ -56,13 +56,13 @@ Check links for md-files:
Release preview branch: Release preview branch:
stage: release stage: release
script: script:
- docker run --rm -v /var/www/html/preview:/mnt "${DOCKER_IMAGE}" mkdocs build --site-dir /mnt - docker run --rm -v /var/www/html/preview:/mnt "${DOCKER_IMAGE}" mkdocs build --strict --site-dir /mnt
only: [ preview ] only: [ preview ]
Release: Release:
stage: release stage: release
script: script:
- docker run --rm -v /var/www/html/hpc-wiki:/mnt "${DOCKER_IMAGE}" mkdocs build --site-dir /mnt - docker run --rm -v /var/www/html/hpc-wiki:/mnt "${DOCKER_IMAGE}" mkdocs build --strict --site-dir /mnt
only: [ main ] only: [ main ]
Cleanup docker: Cleanup docker:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment