Skip to content

Commit 7a6214e

Browse files
authored
Fix rules for CC_CACHE_DEPENDENCIES_EXTRA_PATH
1 parent 658bd18 commit 7a6214e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

layouts/shortcodes/content/cached-dependencies.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
You can enable dependencies caching by adding the `CC_CACHE_DEPENDENCIES=true` [environment variable](#setting-up-environment-variables-on-clever-cloud) in your application. It's enabled by default only for Haskell and Rust applications.
66

77
To add folders to the dependencies cache, use `CC_CACHE_DEPENDENCIES_EXTRA_PATHS`. These paths should comply with the following rules:
8-
- Be a subdirectory of the `$HOME` directory
8+
- Be a subdirectory of the `$HOME` directory, but not the whole `$HOME` directory
9+
- Be a sibling or a child of the whole `$APP_HOME` directory, but not the whole `$APP_HOME` directory
910
- Be relative to the application root directory (e.g. `vendor`, `../dependencies`)
1011
- Be separated by a `:` if you want to add multiple paths (e.g. `CC_CACHE_DEPENDENCIES_EXTRA_PATHS=vendor:../dependencies`)
1112

0 commit comments

Comments
 (0)