image: python:3.8-buster before_script: - pip install -r requirements.txt stages: - test - deploy test: stage: test script: - mkdocs build --strict --verbose --site-dir test artifacts: paths: - test except: - master pages: stage: deploy script: - mkdocs build --strict --verbose artifacts: paths: - public only: - master