fix drone cache volume mounting when rebuilding
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
ChronosXYZ 2024-09-19 03:24:30 +03:00
parent 271c4cde29
commit 0c5831bc90
Signed by: ChronosXYZ
GPG Key ID: 189BF50EBD342791

View File

@ -28,12 +28,13 @@ steps:
port: port:
from_secret: rsync_port from_secret: rsync_port
target: /srv/nginx/nginx/www/pigeoncatcher.site target: /srv/nginx/nginx/www/pigeoncatcher.site
source: dist/* source: dist/
user: user:
from_secret: rsync_user from_secret: rsync_user
key: key:
from_secret: rsync_key from_secret: rsync_key
args: args:
- --recursive
- --delete - --delete
- name: rebuild-cache - name: rebuild-cache
image: meltwater/drone-cache image: meltwater/drone-cache
@ -45,6 +46,9 @@ steps:
archive_format: "gzip" archive_format: "gzip"
mount: mount:
- "node_modules" - "node_modules"
volumes:
- name: cache
path: /tmp/cache
volumes: volumes:
- name: cache - name: cache