diff options
-rw-r--r-- | .gitlab-ci.yml | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5b8321d5..83d368b8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,6 +3,11 @@ stages: - fail - ok +cache: + key: "$CI_BUILD_REF_NAME" + paths: + - .shared + pages: stage: deploy script: @@ -19,10 +24,6 @@ pages: # artifacts: # paths: # - public - cache: - key: "$CI_BUILD_REF_NAME" - paths: - - .shared only: - pagestest @@ -43,10 +44,6 @@ ok_job: - ls clientdata/.shared - ./tools/gitlab-ci/susseccaction.sh when: on_success - cache: - key: "$CI_BUILD_REF_NAME" - paths: - - .shared dependencies: - pages only: @@ -66,13 +63,6 @@ fail_job: - ls clientdata/.shared - ./tools/gitlab-ci/failaction.sh when: on_failure - cache: - key: "$CI_BUILD_REF_NAME" - paths: - - .shared - artifacts: - paths: - - .shared/error.log dependencies: - pages only: |