Updated ci
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing

This commit is contained in:
Dominic Grimm 2022-02-18 18:33:39 +01:00
parent 86e7b03283
commit de84bdbbe5

View file

@ -20,6 +20,7 @@ steps:
- name: cache
path: /cache
settings:
restore: true
mount:
- ./docs
- name: docs
@ -170,3 +171,43 @@ trigger:
- promote
target:
- production
---
kind: pipeline
type: docker
name: clear-cache
steps:
- name: restore-cache
image: drillster/drone-volume-cache
volumes:
- name: cache
path: /cache
settings:
restore: true
mount:
- ./docs
- name: clear-cache
image: alpine
commands:
- rm -rf /cache/*
- name: rebuild-cache
image: drillster/drone-volume-cache
volumes:
- name: cache
path: /cache
settings:
rebuild: true
mount:
- ./docs
volumes:
- name: cache
host:
path: /tmp/cache
depends_on:
- default
- backend
- frontend
- deploy