Skip to content
Snippets Groups Projects
Commit e9847d88 authored by Vojdan Kjorveziroski's avatar Vojdan Kjorveziroski
Browse files

Add .gitlab-ci.yml for mkdocs deployment

parent df2dad4b
No related branches found
No related tags found
No related merge requests found
image: python:3.9-bookworm
before_script:
- pip install -r requirements.txt
test:
stage: test
script:
- mkdocs build --strict --verbose --site-dir test
artifacts:
paths:
- test
rules:
- if: $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH
pages:
stage: deploy
script:
- mkdocs build --strict --verbose
artifacts:
paths:
- public
rules:
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment