From 161032117ee5f4f735bad7ca5ea2305979c163db Mon Sep 17 00:00:00 2001 From: Valentin Brandl Date: Wed, 24 Oct 2018 14:31:37 +0200 Subject: [PATCH] Enable caching --- .drone.yml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/.drone.yml b/.drone.yml index 39fbe67..9491c07 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,11 +1,11 @@ pipeline: - # restore-cache: - # image: drillster/drone-volume-cache - # restore: true - # mount: - # - build - # volumes: - # - /home/gitea/gitea/drone_build_cache/notes:/cache + restore-cache: + image: drillster/drone-volume-cache + restore: true + mount: + - build + volumes: + - /home/gitea/gitea/drone_build_cache/notes:/cache build: image: vbrandl/notes-builder:latest @@ -29,10 +29,10 @@ pipeline: when: branch: master - # rebuild-cache: - # image: drillster/drone-volume-cache - # rebuild: true - # mount: - # - build - # volumes: - # - /home/gitea/gitea/drone_build_cache/notes:/cache + rebuild-cache: + image: drillster/drone-volume-cache + rebuild: true + mount: + - build + volumes: + - /home/gitea/gitea/drone_build_cache/notes:/cache