testing mkdocs

This commit is contained in:
ishak jmilou.ishak
2024-09-18 13:12:45 +02:00
parent 3089fe38a9
commit 937ad4fd32
4 changed files with 73 additions and 0 deletions

21
.gitlab-ci.yml Normal file
View File

@@ -0,0 +1,21 @@
image: python:3.9-slim
before_script:
- time apt update
- time pip install -r requirements.txt
- time cd mdocotion && python setup.py install && cd ..
pages:
stage: deploy
tags:
- hva
script:
- time mkdocs build --site-dir public
artifacts:
paths:
- public
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
variables:
GIT_SUBMODULE_STRATEGY: recursive