Updated ci
This commit is contained in:
parent
86e7b03283
commit
de84bdbbe5
1 changed files with 41 additions and 0 deletions
41
.drone.yml
41
.drone.yml
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue