Skip to content
Snippets Groups Projects
.gitlab-ci.yml 642 B
Newer Older
include:
  - local: ".gitlab/ci/wiki.yml"
    rules:
      - if: '$CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH'
      - changes:
          - doc/**/*
  - local: ".gitlab/ci/deploy.yml"
    rules:
      - if: '$CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH'
      - changes:
          # exclude documentation changes from deploy
          - "doc/**/*"
          - ".gitlab/*"
        when: never
Grant's avatar
Grant committed

# dummy job, gitlab gets mad when no jobs exist (when the above are never imported)
dummy:
  stage: build
Grant's avatar
Grant committed
  interruptible: true
Grant's avatar
Grant committed
  script:
    - echo "dummy"
  # rules:
  #   - when: never