fix drone cache volume mounting when rebuilding
Some checks reported errors
continuous-integration/drone/push Build was killed

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

View File

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