Each file / directory in the mount
list will be individually archived and cached to the specified S3 bucket beneat the repository
pipeline:
caching_steps:
# Download previously cached info from S3
cache-restore:
image: meltwater/drone-cache
bucket: __AWS_bucket__
restore: true
region: eu-west-1
mount:
- some_workspace_dir
# Push adjusted code back up to S3
cache-rebuild:
image: meltwater/drone-cache
bucket: __AWS_bucket__
rebuild: true
region: eu-west-1
mount:
- some_workspace_dir