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
Pipeline #581 passed with stage
in 26 minutes and 9 seconds
......@@ -18,8 +18,10 @@ variables:
# 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
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