drone cache
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-05-15 14:43:59 +02:00
parent 91fa692611
commit 1040f8d94d

View File

@ -4,14 +4,40 @@ type: docker
name: default
steps:
- name: backend
- name: restore-cache
image: drillster/drone-volume-cache
volumes:
- name: cache
path: /cache
settings:
restore: true
mount:
- vendor
- name: build
image: ruby:latest
commands:
- bundle install
- bundle exec jekyll build
when:
branch:
- main
- name: rebuild-cache
image: drillster/drone-volume-cache
volumes:
- name: cache
path: /cache
settings:
rebuild: true
mount:
- vendor
when:
branch:
- main
node:
location: marley
volumes:
- name: cache
host:
path: /var/lib/drone/temp