Skip to content
Snippets Groups Projects
Commit bc9c08db authored by Guillaume Pasero's avatar Guillaume Pasero Committed by Antoine Regimbeau
Browse files

CI: use SHA rather than REF_NAME for lfs fetch

parent 7d29ae2a
Branches
Tags
No related merge requests found
......@@ -18,8 +18,10 @@ variables:
GIT_STRATEGY: "clone"
before_script:
# make sure LFS hooks are installed
- git lfs install
# Provision efficiently the local LFS cache before checkout
- git lfs fetch origin $CI_COMMIT_REF_NAME
- git lfs fetch origin $CI_COMMIT_SHA
# Checkout the expected branch
- git checkout $CI_COMMIT_REF_NAME
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment