updated cache to include directory name [CI SKIP]

This commit is contained in:
Brad Rydzewski 2015-11-11 17:07:40 -08:00
parent 5940050ccb
commit cb3f6ada63

2
docs/build/cache.md vendored
View file

@ -2,7 +2,7 @@
> This feature is still considered experimental
Drone allows you to cache directories within the build workspace. When a build successfully completes, the named directories are gzipped and stored on the host machine. When a new build starts, the named directories are restored from the gzipped files. This can be used to improve the performance of your builds.
Drone allows you to cache directories within the build workspace (`/drone`). When a build successfully completes, the named directories are gzipped and stored on the host machine. When a new build starts, the named directories are restored from the gzipped files. This can be used to improve the performance of your builds.
Below is an example `.drone.yml` configured to cache the `.git` and the `node_modules` directory: