From 38d8b6a667c4dd49e1e06636f1d7756d940723e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Henning?= <soeren.henning@email.uni-kiel.de> Date: Fri, 3 Dec 2021 20:58:27 +0100 Subject: [PATCH] Add abstract docs job --- .gitlab-ci.yml | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d28ec90a9..27ca871e5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,8 +18,7 @@ stages: # Theodolite Docs -build-docs: - stage: build +.docs: image: ruby:2.7 tags: - exec-docker @@ -31,6 +30,10 @@ build-docs: - gem install bundler - bundle config set --local path 'vendor' - bundle install + +build-docs: + stage: build + extends: .docs script: bundle exec jekyll build artifacts: paths: @@ -38,19 +41,9 @@ build-docs: test-docs-links: stage: test + extends: .docs needs: - build-docs - image: ruby:2.7 - tags: - - exec-docker - cache: - paths: - - docs/vendor - before_script: - - cd docs - - gem install bundler - - bundle config set --local path 'vendor' - - bundle install script: bundle exec htmlproofer --assume-extension --allow_hash_href --url-ignore "/favicon.ico" ./_site -- GitLab