mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-06-30 19:20:46 +00:00
updated cache to include directory name [CI SKIP]
This commit is contained in:
parent
5940050ccb
commit
cb3f6ada63
2
docs/build/cache.md
vendored
2
docs/build/cache.md
vendored
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
> This feature is still considered experimental
|
> 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:
|
Below is an example `.drone.yml` configured to cache the `.git` and the `node_modules` directory:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue