Skip to content
This repository was archived by the owner on Feb 11, 2025. It is now read-only.

Commit 92655c8

Browse files
committed
206-doublestar-mount Updated CHANGELOG, documentation examples added
1 parent f162b55 commit 92655c8

File tree

2 files changed

+38
-1
lines changed

2 files changed

+38
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Added
1111

12-
- Nothing.
12+
- Added double star directory searching in mounts (e.g. `path/**/subdir`)
1313

1414
### Changed
1515

docs/examples/drone.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,3 +222,40 @@ steps:
222222
rebuild: true
223223
debug: true
224224
```
225+
226+
### Glob Double Star Mounting
227+
228+
```yaml
229+
kind: pipeline
230+
name: default
231+
232+
steps:
233+
- name: restore-cache-debug
234+
image: meltwater/drone-cache
235+
settings:
236+
pull: true
237+
restore: true
238+
debug: true
239+
mount:
240+
- "node_modules"
241+
- "packages/**/dist"
242+
- "packages/**/node_modules"
243+
244+
- name: build
245+
image: npm
246+
pull: true
247+
commands:
248+
- npm build
249+
250+
251+
- name: restore-cache-debug
252+
image: meltwater/drone-cache
253+
settings:
254+
pull: true
255+
rebuild: true
256+
debug: true
257+
mount:
258+
- "node_modules"
259+
- "packages/**/dist"
260+
- "packages/**/node_modules"
261+
```

0 commit comments

Comments
 (0)