Another attempt at caching

This commit is contained in:
3wc 2023-11-17 14:32:33 +00:00
parent bcdd246efc
commit 35827eb14c

View File

@ -11,11 +11,16 @@ steps:
volumes: volumes:
- name: cache - name: cache
path: /cache path: /cache
- name: lib
path: /usr/local/lib/R/site-library
- 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:
- 'echo "install.packages(\"rmarkdown\")" | r -' - 'echo "install.packages(\"rmarkdown\")" | r -'
- quarto render - quarto render
volumes:
- name: lib
path: /usr/local/lib/R/site-library
- name: deploy to washweb.org - name: deploy to washweb.org
image: git.coopcloud.tech/coop-cloud/docker-cp-deploy:latest image: git.coopcloud.tech/coop-cloud/docker-cp-deploy:latest
settings: settings:
@ -53,9 +58,13 @@ steps:
volumes: volumes:
- name: cache - name: cache
path: /cache path: /cache
- name: lib
path: /usr/local/lib/R/site-library
volumes: volumes:
- name: cache - name: cache
host: host:
path: /tmp/drone/cache path: /tmp/drone/cache
- name: lib
temp: {}