mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-24 20:36:40 +07:00
fixed volumes config
This commit is contained in:
parent
ea16183117
commit
bb0dc2d26a
1 changed files with 17 additions and 8 deletions
25
.drone.yml
25
.drone.yml
|
@ -9,15 +9,17 @@ platform:
|
|||
steps:
|
||||
- name: restore-cache
|
||||
image: drillster/drone-volume-cache
|
||||
restore: true
|
||||
when:
|
||||
branch:
|
||||
- master
|
||||
- develop
|
||||
mount:
|
||||
- ./node_modules
|
||||
settings:
|
||||
restore: true
|
||||
mount:
|
||||
- ./node_modules
|
||||
volumes:
|
||||
- /tmp/cache:/cache
|
||||
- name: cache
|
||||
path: /cache
|
||||
- name: build-master
|
||||
image: plugins/docker
|
||||
when:
|
||||
|
@ -78,8 +80,15 @@ steps:
|
|||
branch:
|
||||
- master
|
||||
- develop
|
||||
rebuild: true
|
||||
mount:
|
||||
- ./node_modules
|
||||
settings:
|
||||
rebuild: true
|
||||
mount:
|
||||
- ./node_modules
|
||||
volumes:
|
||||
- /tmp/cache:/cache
|
||||
- name: cache
|
||||
path: /cache
|
||||
|
||||
volumes:
|
||||
- name: cache
|
||||
host:
|
||||
path: /tmp/cache
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue