diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-02-24 06:07:49 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-02-24 06:07:49 +0300 |
commit | 201a883bdfaf5dcb73142139cec70c10134f5b2c (patch) | |
tree | b1c70fa61d6f92fdccc88d6deaae4fa201481869 /doc/ci/caching | |
parent | 0abfd0b478192436e7328469320923a04885a3b7 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/ci/caching')
-rw-r--r-- | doc/ci/caching/index.md | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/doc/ci/caching/index.md b/doc/ci/caching/index.md index c0e0a1cbff3..d7c5b089116 100644 --- a/doc/ci/caching/index.md +++ b/doc/ci/caching/index.md @@ -139,13 +139,14 @@ You can override cache settings without overwriting the global cache by using `policy` for one job: ```yaml -cache: &global_cache - key: $CI_COMMIT_REF_SLUG - paths: - - node_modules/ - - public/ - - vendor/ - policy: pull-push +default: + cache: &global_cache + key: $CI_COMMIT_REF_SLUG + paths: + - node_modules/ + - public/ + - vendor/ + policy: pull-push job: cache: |