diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..b6361fb --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,15 @@ +pages: + stage: deploy + image: python:latest + script: + - pip install -r requirements.txt + - mkdocs build --site-dir site + cache: + key: ${CI_COMMIT_REF_SLUG} + paths: + - .cache/ + artifacts: + paths: + - site + rules: + - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'