fix drone cache volume mounting when rebuilding
All checks were successful
continuous-integration/drone/push Build is passing

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

View File

@ -28,7 +28,7 @@ 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:
@ -45,6 +45,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