Commit 77fc8e88 authored by Adrian DC's avatar Adrian DC
Browse files

ci(gitlab-ci): avoid PDF slow generation locally outside 'pdf' job

Signed-off-by: default avatarAdrian DC <radian.dc@gmail.com>
parent 0a888107
Loading
Loading
Loading
Loading
Loading
+5 −0
Changes for .gitlab-ci.yml: 5 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -857,6 +857,11 @@ pages:
      if [ -z "${CI_LOCAL:-}" ]; then
        git fetch --tags --unshallow || true
      fi
    # Run locally without PDF
    - |
      if [ ! -z "${CI_LOCAL:-}" ] && [ ! "${CI_JOB_NAME:-}" = 'pdf' ]; then
        export MKDOCS_EXPORTER_PDF_ENABLED='false'
      fi
    # Prepare documentation
    - |
      if [ ! -z "${CI_LOCAL:-}" ]; then