fix drone cache volume mounting when rebuilding
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
271c4cde29
commit
a09cf18319
@ -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