Tweak cache volume definition

This commit is contained in:
3wc 2023-11-17 13:20:29 +00:00
parent af6467d17b
commit b287e4a387

View File

@ -8,7 +8,8 @@ steps:
mount: mount:
- /usr/local/lib/R/site-library - /usr/local/lib/R/site-library
volumes: volumes:
- /tmp/cache:/cache - name: cache
path: /cache
- name: build quarto site - name: build quarto site
image: cynkra/quarto-r:1.4.169-4.3.1 image: cynkra/quarto-r:1.4.169-4.3.1
commands: commands:
@ -48,4 +49,11 @@ steps:
mount: mount:
- /usr/local/lib/R/site-library - /usr/local/lib/R/site-library
volumes: volumes:
- /tmp/cache:/cache - name: cache
path: /cache
volumes:
- name: cache
host:
path: /tmp/drone/cache