fix drone cache volume mounting when rebuilding
Some checks reported errors
continuous-integration/drone/push Build was killed
Some checks reported errors
continuous-integration/drone/push Build was killed
This commit is contained in:
parent
271c4cde29
commit
a27a4e92b3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user