From 7b5b27917daea4988416e7fec7e434161dcae87d Mon Sep 17 00:00:00 2001 From: ChronosXYZ Date: Thu, 19 Sep 2024 03:24:30 +0300 Subject: [PATCH] fix drone cache volume mounting when rebuilding --- .drone.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index e067a2d..5c41266 100644 --- a/.drone.yml +++ b/.drone.yml @@ -28,7 +28,7 @@ steps: port: from_secret: rsync_port target: /srv/nginx/nginx/www/pigeoncatcher.site - source: dist/* + source: dist/ user: from_secret: rsync_user key: @@ -45,6 +45,9 @@ steps: archive_format: "gzip" mount: - "node_modules" + volumes: + - name: cache + path: /tmp/cache volumes: - name: cache