Commit 68e2c59a authored by Jonathan Klimt's avatar Jonathan Klimt
Browse files

Use cache only on not-master branch

parent 4087a104
Pipeline #373515 failed with stages
in 5 seconds
......@@ -17,6 +17,19 @@ docker:
- shell
- linux
cached-documentation:
stage: generate
script:
- cd documentation && ./docu.sh
image: ${DOCKER_IMAGE_DEV}:${DOCKER_TAG_DEV}
tags:
- docker
cache:
key: secret-cimpy
paths:
- documentation
except:
- master
documentation:
stage: generate
......@@ -28,10 +41,8 @@ documentation:
- documentation
tags:
- docker
cache:
key: secret-cimpy
paths:
- documentation
only:
- master
pages:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment