summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axilleas@axilleas.me>2017-02-24 15:23:01 +0100
committerAchilleas Pipinellis <axilleas@axilleas.me>2017-02-24 16:28:52 +0100
commit98ca0277d270f7ff330af070303d5dda1d707134 (patch)
tree41b0dfa97aed6c7fc1415897641b885daf8e7551
parent7fc913f50c6d297f68ccbda272f5d57a17f14156 (diff)
downloadgitlab-ce-test-doc-image.tar.gz
Add GIT_DEPTH for docs testtest-doc-image
-rw-r--r--.gitlab-ci.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5e6853af094..fc2ede7eeda 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -328,12 +328,13 @@ docs_links_check:
image: "registry.gitlab.com/axil/nanoc-bootstrap:2.4-onbuild"
stage: test
<<: *dedicated-runner
- variables: {}
+ variables:
+ GIT_DEPTH: "3"
cache: {}
dependencies: []
before_script: []
script:
- - mv /builds/gitlab-org/gitlab-ce/doc /usr/src/app/content/
+ - mv doc/ /usr/src/app/content/
- cd /usr/src/app/
- bundle exec nanoc
- bundle exec nanoc check internal_links