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
0c5831bc90
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user