From a6ce95ef0f8843fad89a08defbda421aa95dacb7 Mon Sep 17 00:00:00 2001 From: Jutta Schnabel <jschnabel@km3net.de> Date: Fri, 9 Oct 2020 22:14:02 +0200 Subject: [PATCH] becoming creative with pipeline --- .gitlab-ci.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2c558e6..2caa9d0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,18 +1,19 @@ # add 'node_modules' to cache for speeding up builds +image: node:10 + cache: paths: - node_modules/ # Node modules and dependencies default: - image: node:10 before_script: - npm install gitbook-cli -g # install gitbook + - npm install pip - gitbook fetch 3.2.3 # fetch final stable version - gitbook install # add any requested plugins in book.json test: - image: node:10 stage: test script: - gitbook build . public # build to public path @@ -23,7 +24,6 @@ test: build: stage: build - image: docker.km3net.de/base/texlive:2018 script: - pip install pyyaml - python make_documents.py @@ -37,7 +37,6 @@ build: # the 'pages' job will deploy and build your site to the 'public' path pages: - image: node:10 stage: deploy script: - gitbook build . public # build to public path -- GitLab