pages: stage: deploy image: python:latest variables: GIT_LFS_SKIP_SMUDGE: "0" before_script: - apt-get update && apt-get install -y git-lfs - git lfs install - git lfs pull script: - pip install -r requirements.txt - mkdocs build --site-dir public cache: key: ${CI_COMMIT_REF_SLUG} paths: - .cache/ artifacts: paths: - public rules: - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'