Don't use $CACHE_DIR in after_script (#3159)

This variable is not available here.
This commit is contained in:
Alexander Block 2019-10-16 18:59:33 +02:00 committed by GitHub
parent be127bc2ee
commit 859d60f818
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -101,7 +101,7 @@ stages:
- mkdir -p $CI_PROJECT_DIR/testlogs
- |
if [ "$CI_COMMIT_REF_SLUG" = "develop" ]; then
cp -ra $CACHE_DIR/* $CI_PROJECT_DIR/cache-artifact/
cp -ra $CI_PROJECT_DIR/cache/* $CI_PROJECT_DIR/cache-artifact/
fi
# We're actually only interested in the develop branch creating the cache artifact, but there is no way to control this